Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single Form Application
Message
De
19/04/2009 17:53:30
 
 
À
19/04/2009 03:53:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01395476
Message ID:
01395517
Vues:
90
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform