Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No Visual Foxpro Window
Message
From
16/03/2002 02:59:04
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
15/03/2002 11:58:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00633455
Message ID:
00633708
Views:
21
>>Hi,
>>Do you meant you see your form and the VFP main window too?
>>Or, the program just flash and dissapear? If so, you need to place READ EVENT after DO FORM mymainform
>>
>>HTH
>
>Thanks for the help, but I'm still missing something.
>
>mymainform.ShowWindow is set to 2 in the form designer. The form is run from a main program like this :
>
>
>DO FORM mymainform
>mymainform.Show
>Read Events
>
>
>The main foxpro window flashes & the mainform never appears. (I've got a button to close the form with a clear events in it). The form is in limbo at that point - it doesn't appear on the program task list (Ctrl-Alt-Del), but databases are open.

There's a gotcha - if your form is modal, it can't be top level. Fox reverts your .showwindow to zero if the form is modal. Try to make it non-modal.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform