>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