Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Object Oriented Programming
Not sure if this is related, but, I know that if you plan to programatically change an anchored control's position and size, you must first set it's Anchor to 0, make the appropriate change, then set the Anchor back to it's initial value. If you don't, the changes don't get recognized.
Mike
>>How container B resizes relative to the form resize? How do you expect Container A to resize?
>
>In height. This is now interesting, my Conatiner B is 140 pixels wide and I have sized Conatiner A to be 136 pixels (left = 2 so I have a margin on both sides of A)
>
>I had previously dragged-dropped Container B on my form and resized to 150 pixels wide, eveything else inside is not touched, esp. not the later added Container A, so it is 10 pixels short when the form is opened at design time.
>
>Now at run-time only vertical resize happens of Container B.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only