Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wait window invisible
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00211437
Message ID:
00211475
Views:
30
>Hi All,
>
>I have a little problem. I'd like to show my users some wait windows every now and then. I use a Top level form as my main form in this application and _screen is hidden. Wait windows don't show up in this setup. What I did to make it work is show _screen with a top = -2000 and the Wait windows suddenly show up. But this way there is a second button on the taskbar. Why don't wait windows show up on top level forms when _Screen is hidden and how do I solve this without showing _Screen (not even on the taskbar).

Unfortunately, WAIT WINDOW is tied to the VFP main screen; if the VFP main screen's ShowWindow state is hidden, the WAIT WINDOW system message window doesn't appear (it's somewhat the same problem as the Report Preview problem.)

Take a look at the VFP docs - the on-line docs for both VFP5 and VFP6 state explicitly that if the WINDOW clause is included in the WAIT statement, the system message window appears in the main Visual FoxPro window. IOW, the behavior is documented, even if it's not what you want it to do.

You'll have to use a form or MESSAGEBOX() rather than WAIT WINDOW if you don't want the main VFP window to appear in the taskbar.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform