Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any Open Forms?
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01325290
Message ID:
01325293
Views:
12
>I have a need to suppress some menu bars if any other forms are open. It would most likely be a function put into the SKIP FOR of the menu bar options that would return true if any forms or windows existed. I am sure there is something but I can't seem to find it.
>
>Does anyone have an idea on what to use?
>
>Thanks,
>Dennis

I'm not sure what would you use for windows, say, report preview native window. You must know the name of the windows to check for wexist() function. For forms you just use _screen.FormCount as Sergey suggested.

Found this, BTW
http://www.ml-consult.co.uk/foxst-08.htm
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform