Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding anchor property
Message
From
24/05/2006 13:28:42
Tamar Granor (Online)
Tomorrow's Solutions, Llc
Elkins Park, Pennsylvania, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01124568
Message ID:
01124593
Views:
18
This message has been marked as the solution to the initial question of the thread.
>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
Map
View

Click here to load this message in the networking platform