General information
Category:
Coding, syntax & commands
>Hi everybody,
>
>I have a mover class. It is a container with label at the top, two listboxes and 4 command buttons. I want to make listboxes change size when I change size of my cntMover. I want buttons to change position to always be in the middle of the container (the buttons are individual buttons, not the command group).
>
>I'm not sure if I can achieve what I want using anchor property or I should program resize event.
Yes, you can get what you want with Anchor. Set the left-hand listboxes to 135. Set the right-hand listbox to 45. Set the buttons to 768.
>
>Also is it possible to achive this effect in design time as well as in run-time?
No anchoring is a run-time feature.
Tamar
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