Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding anchor property
Message
De
24/05/2006 13:28:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01124568
Message ID:
01124593
Vues:
9
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform