Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement