>Hi,
> I have a top level form and multiple MDI form. I place toolbar on my top level form and issue _SCREEN.ACTIVEFORM.mymethod(). It works most of the time, but VFP give error ACTIVEFORM is not an Object sometime... why does it happen? hor to solve?
>
>Thank you
John,
Using a top level form and then referring to _screen is like cutting yourself and then wondering why you're bleeding. Don't use _screen in top level form applciations is the simple answer to your question. Choose to either have a top level form or to use the VFP top level form (known as _screen).