Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single Form Application
Message
From
19/04/2009 17:53:30
 
 
To
19/04/2009 03:53:47
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01395476
Message ID:
01395517
Views:
89
This message has been marked as the solution to the initial question of the thread.
>Dear All
>
>
>I need very small app whih would run as single form. What I am trying to avoid is having main foxpro window appearing
>but instead just one foxpro form. Basically what I need is 'splash' form which remains on without anything else comming up.
>One button on it would be used to shut down application.
>
>So what is the easiest way to set this up?
>
Hi Sergio -

My favorite way would be to set singleForm.ShowWindow=2 and keep _screen.Visible=.F. from the very beginning by including a config.fpw file containing a line:
screen=off
(+ a second line "resource=off")

The project's "main.prg" would look like:
On Shutdown quit
Do Form singleForm.SCX
Read Events
And singleForm.Destroy() would do a
Clear Events
hth
-Stefan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform