Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Building an EXE: How do I clear the main screen and max
Message
From
15/07/1999 00:09:39
 
 
To
14/07/1999 23:48:25
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00241644
Message ID:
00241649
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform