Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to show maximized screen on startup?
Message
 
À
24/12/1997 21:31:38
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapour
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00067907
Message ID:
00067909
Vues:
23
>When I first run my EXE, it doesn't show a maximized screen. The user needs to press the maximized button to get it maximized.
>
>How do I maximize it on startup?

I put the code below in my main prg to start my app. _screen refers to the foxpro window. _screen.windowstate= 2 maximizes foxpro's screen on startup.
Hope this helps!

WITH _screen
.LockScreen=.T.
.windowstate= 2 &&Maximizing Main FoxPro Window
.BackColor=rgb(192,192,192)
.caption = "Rural/Metro Marketing System"
.fontsize = 12
.icon = "rmtruck.ico"
.LockScreen=.F.
ENDWITH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform