Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building an EXE: How do I clear the main screen and max
Message
De
15/07/1999 00:09:39
 
 
À
14/07/1999 23:48:25
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00241644
Message ID:
00241649
Vues:
29
>I am building an app from scratch, no Wizards. I created a form called MENUMAIN that has menu choice buttons on it. I want that form to appear when the APP starts.
>
>I created a MAIN program and in it it has...
>
>SET DELETED ON
>SET TALK OFF
>
>DO FORM MENUMAIN
>
>READ EVENTS
>
>
>This works (surprisingly for me). The only part I really don't care for is I would prefer:
>
>a) the desktop to be completely blanked out and the menumain to be centered on the screen

After your SET TALK OFF, put:

CLEAR
_SCREEN.WindowState = 2


Then in form, menumain, set the AutoCenter = .t.

>
>b) the background window that automatically appears to NOT have a menubar with FILE / EDIT / WINDOW / HELP

SET MENU OFF

>
>c) the Microsoft Visual Foxpro to NOT be in the title bar on that background window.


_SCREEN.Caption = "My Application"

>
>
>How can I do this?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform