Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hiding Main Window
Message
From
06/05/2002 07:33:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00652998
Message ID:
00653001
Views:
21
>My VFP7/SP1 application consists of a main.prg, a few .prg-based classes, and a single form. I only want to see the form, but when I launch the .exe, the main VFP window shows, then the form starts, and when I click my [Quit] button in the form (click method contains ThisForm.QueryUnload() and ThisForm.Release()), the form goes away but the main VFP window is still there - of course "Cannot Quit Visual FoxPro"....
>...

For the "Can't quit" part, see the ON SHUTDOWN command. For example:
ON SHUTDOWN do CloseApp
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform