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
16/07/1999 20:02:23
Randy Hooper
Ranco Business Software
Tampa, Florida, United States
 
 
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:
00242646
Views:
15
>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
For your form to be center "set auto center to true" form property sheet

>b) the background window that automatically appears to NOT have a menubar with FILE / EDIT / WINDOW / HELP
In the init method say "set skip of menu _sysmenu .t." this will disabel the menu pad and in the unload method of the form say "set skip of menu _sysmenu .f." this will enabled the memnu pad.
>
>c) the Microsoft Visual Foxpro to NOT be in the title bar on that background window.
Befor you call your form menu in your startup prg say "_screen.caption = '' and this will remove Visual Foxpro. Also in your startup prg say "_screen.backcolor = rgb(0,0,0)" and this will turn your background screen black.
>
>
>How can I do this?
Foxpro is a sweet puppy

'cept it barks every now and then =)
Previous
Reply
Map
View

Click here to load this message in the networking platform