>Thank You John!!!
>
>Resolved the problem. I moved the code to create the menu to the activate method of the top form. No more errors messages and the menu disables with _screen.activeform.windowstate = 1 in the skip for of the menu option for modal forms. I'll know next time not to believe everything I read in the manuals and books. I guess that is what they call experience.
>
Gaylen,
The menu creation will be done each time the form is Activated. This takes place whenever you launch a new form and then release it to come back to the main form. If the other form is modal, you can't do this but if you launch a non-modal form and go back to the main form ...
>
>I tried 'oMainform = this' in the init of the top level form but it didn't create a form object. I can reference the oMainform object if I create the form with 'do xxxx name oMainform'.
>
>Thanks a lot - Hope to see you Wednesday.
>
>Gaylen
>
>
*snip*
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao