Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AutoCenter = .T. but form doesn't center
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
AutoCenter = .T. but form doesn't center
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01445900
Message ID:
01445900
Vues:
131
I create a form at runtime from one of my form classes using the Newobject() function.

I add some controls to it, resize it, and set the form's AutoCenter property to .T.

The ShowWindow property is set to 1 - In Top Level form

I call oForm.Show(1)

When the form appears it is on the left side of the screen about 1/3 of the way down from the top.

Not centered.

Any suggestions?

Thanks,
Jim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform