Since everything appears to be the same, I just sent youa copy of the files that worked me. Check them out if you want and let me know if they work for you.
HTH.
>Larry - Appreciate you hanging in there with me
>I am using VFP7 SP4
>
>I reduced my application to a top level form and a top level menu named toplevel.mpr and one modal form which is configured as 1 - in top level.
>
>In the init of the toplevel form I have the following code
> application.visible = .f.
> do toplevel.mpr with this,.t.
>
>
>In the menu I have one menu item which calls the modal form.
>In the skip for field in the option dialog I have _screen.activeform.windowstate = 1
>
>When the form instaniates I get the error message "activeform is not an object.
>
>If I move the 'do toplevel.mpr with this,.t.' to the activate code I do not get the error message.
>
>Seem like we have the same thing - your works mine doesn't. The only thing different is application.visible = .f. Could that be the problem?
>
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao