Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto Centering of Container on Form
Message
De
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:
01622979
Vues:
55
This message has been marked as a message which has helped to the initial question of the thread.
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform