Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto Centering of Container on Form
Message
 
À
05/08/2015 23:42:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01622935
Message ID:
01624154
Vues:
38
Thanks for the info !

>Add this to the form's Resize() event:
>
>
>Thisform.cntLocked.Left  = INT((Thisform.Width 	- Thisform.cntLocked.Width) / 2
>Thisform.cntLocked.Top  = INT((Thisform.Height   - Thisform.cntLocked.Height) / 2)
>
>
>In the form's Init() event make a call to the thisform.Resize() code above.
Tommy Tillman A+ NetWork+ MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform