Gaylen,
I couldn't reporduce this behavior (VFP6 SP4 on Win2000 Pro). I created a Top-level form, added a menu to the Init, set 1 option in the menu to skip for a modal form. I also created a second form launched from the menu that was modal and configured as 1 - In Top-level.
Everything worked as expected. When the modal form was launched all menu options were disabled not just the SKIP FOR option. I got no errors from _Screen.ActiveForm not existing when the menu refreshed.
Can you post any more details?
>Larry
>The initial form that comes up is top level and is modeless. A number of the other are modal and operate in the top level. Some of the forms I want to lock the user until they perform a task. If I can't disable the menu they can move to another form by clicking on the menu.
>
>I tried the code _screen.activeform.windowtype = 1 in the skip field in the menu for those menu items I want the menu disabled.
>
>I get an error message when the programs starts which say "activeform is not an object". I have the menu load in the init of the main form which is the first form to instaniate.
>
>In a similar application, I have no problem with that code and the only thing I am doing different is that I am running this as a top level application.
>
>Thanks for any help
>
>Gaylen
>
*snip*
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao