Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Centering a form with AutoCenter
Message
 
À
30/10/1998 03:39:54
Marco Beuk
Innovero Software Solutions
The Hague, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00152629
Message ID:
00152883
Vues:
23
>If i set a form's AutoCenter property to .T. it doesn't center.
>For some reason VFP 5.0 thinks my main form is 1024x768, but it is 800 x 600.
>
>What is the deal with the property AutoCenter of a form?
>
>Marco Beuk
>
>BTW: I don't think this was the case in VFP 3.0, is it a bug?

Because of some internal VFP calculations it is not enough if you set form.AutoCenter = .t. in the development environment. You have to reissue this.AutoCenter = .t. in Form.Init()

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform