Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launch a single form without desktop
Message
From
07/08/1999 09:20:49
 
 
To
07/08/1999 06:26:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00250896
Message ID:
00251044
Views:
15
>Version 6. No you don't misunderstand... I found TopLevelForm setting but cannot find where or how to SET _screen = OFF.
>

Youi must do this in a CONFIG.FPW that is compiled into your application that contains the line:

SCREEN = OFF

if you do not do this, and instead try to issue the command from the form, the VFP screen will appear briefly before the _Screen.visible = .f. is issued.

>How do I launch the screen in the app? Or do I even need a project? Normally I run the menus in the main.prg the do a READ EVENTS. I don't want a menu to show up just this one screen.
>

Yes, you need a project; if the only thing that runs is a form, and that form can be modal, then simply make the form the main program in the project. if the form is not modal, or you need to load menus, etc and want an active READ EVENTS, then you need a short program to serve as your main that sets up the environment, launches your form, menus and whatever, and fires a READ EVENTS.

You must have a project in order to compile to a .APP or .EXE file.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform