Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Well-centered person says FORM DOES NOT CENTER ON SCREEN
Message
De
03/05/2001 12:37:34
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00503110
Message ID:
00503115
Vues:
25
Do you maximize the main VFP window (_SCREEN.WINDOWSTATE=2, or some other way)? If so, do you do this after the DO FORM? The AutoCenter will only center the form at the time of instantiation, and will center the form within the FoxPro desktop.

>I have a VFP 6.0 form 640 x480 in size. I am looking at it in Windows set at 800x600. It is off to the left and touches the top of the screen.
>
>The form centers perfectly when I run the .PRG from the project window which DOes the form. But when I make into .EXE and run the .EXE the form is no longer centered.
>
>The form property is set to AutoCenter = .T.
>
>I also tried putting THISFORM.AutoCenter = .T. in the Form Init.
>
>I wonder what's wrong? The .EXE build must be affecting it somehow.
>
>Any ideas? Thanks very much.
>
>Note: This problem should not happen to a well-centered person like me.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform