Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro main screen not to show
Message
 
 
To
30/07/2008 18:39:02
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01335375
Message ID:
01335397
Views:
14
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform