Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CREATING A EXE
Message
 
À
22/07/1997 14:00:23
Holly Clawson
Travelcenters of America
Westlake, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00041115
Message ID:
00041158
Vues:
34
>>>Does anyone know why when I create my .exe the form is nolonger screen size, I have to maximize the intial screen, and then every form that is run is nolonger centered. I have my options set for 640 x 480.
>>>
>>>Holly Clawson
>>
>>In the form properties, make sure the WindowState=0 (for normal).
>>
>>In the form's Activate method: ThisForm.WindowState=0
>>In the form's Init method: ThisForm.AutoCenter=.t.
>
>I have all of those options set already, do you have any other ideas. The forms are centering within the intial window with the menu, but that intial window is not full screen size.
>
>thanks
>
>Holly Clawson

vfp defaults to opening a window about 3/4 of screen size. several ideas have been suggested here -- easiest one is

_screen.windowstate = 0 && maximized

in your main program before opening any forms.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform