Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Center objects after screen resize
Message
De
26/03/2010 19:43:22
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01457548
Message ID:
01457551
Vues:
59
Hi Jim,

you could put all your form objects into a container and set all those object's anchor property to zero. All you have to do now, is to center the container by filling its anchor value.

>Is there an easy way to keep all objects on a form as is but centered on the form after the _screen.height and _screen.width changes?
>I've tried all the anchor types but none of them will act on all the objects as if they were one object. Currently I have to code the new location for each object based on the new _screen size.
>Tired fingers, Colombo.
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform