|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ResizingI´m trying to find out the way to rezise a continer when mi form it´s
maximised whitout losing the size relation betwen them. if there any body that can help me about i'l be apreciated. thnks Francillard wrote:
>I´m trying to find out the way to rezise a continer when mi form it´s You can set the anchor property in design mode to all four sides. Then >maximised whitout losing the size relation betwen them. if there any body >that can help me about i'l be apreciated. thnks > > any time the form is resized, so will the container be. Tom Well i did that but now i got a button that it's inside of a container if i
do that get a huge button and i can't control that Show quoteHide quote "tomb" wrote: > Francillard wrote: > > >I´m trying to find out the way to rezise a continer when mi form it´s > >maximised whitout losing the size relation betwen them. if there any body > >that can help me about i'l be apreciated. thnks > > > > > You can set the anchor property in design mode to all four sides. Then > any time the form is resized, so will the container be. > > Tom > Then don't set the anchor for all four sides. Experiment with that
property. Normally buttons will be anchored to two sides of the container. For example, a button anchored bottom, right will maintain its position relative to the bottom right of its container. If you have several buttons/controls that have to be related together, then simple anchoring may not provide enough control. If you're using VS2005, you can use a table layout panel in conjunction with anchoring and the dock property to achive many layouts. That in conjunction with the FlowLayoutPanel, anchoring and docking should support most layout needs.
Wrapper classes
preventing default value in vb.net FAST date string conversion ? playing & re-playing 7 .wav files How To Force Copy One File To Another Problems with URL Syntax Automating restart of PC Possible to monitor changes in array (with event)? Raising Events in Modules? Re: How to Use a Screen Saver app within My Application? |
|||||||||||||||||||||||