Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxpro main screen not to show
Message
 
 
À
30/07/2008 18:39:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01335375
Message ID:
01335397
Vues:
13
This message has been marked as the solution to the initial question of the thread.
A Top-level form cannot be modal. You'll need READ EVENTS. Also you'll need to issue CLEAR EVENTS to exit event loop. See http://www.alvechurchdata.co.uk/hints-and-tips/foxcannotquit.html
do form clock
 READ EVENTS
>Thanks Sergey. Now when I click on the exe file, the windows just flicks and the clock form does not show up at all. this is my main code
>_screen.Visible = .F.
> do form clock
> *close up the program and tidy up.
> set sysmenu to default
> clear events
> set escape on
> on escape
> clear all
> _screen.picture = ""
>
>If I take the _screen.visible=.f. out, the clock works. Am I missing something ??? windowtype=1 is set. ShowWindow=2 (ShowWindow=0 works)
>Any help will be appreciated. Many thanks.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform