Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Minimal Single Form Application
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00800073
Message ID:
00800114
Views:
24
Lance,

You use a main.prg:

do form TheApp
read events

TheApp.Destroy:
clear events

add a config.fpw:
screen=off

the config will keep the VFP screen from showing at all.

>What is necessary to create a bare-minimum, single form application? I've tried creating a project with a single form as the only object in the project, and made it MAIN.
>
>I've tried Application.Visible = .F. in the Init of the form, and setting ShowWindow = Top-Level Form, but the main FoxPro window still displays, and the application closes immediately.
>
>What do I need to do just to get a single form to display, then exit when I click an Exit button?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform