>>BTW, sys(1271, thisform) works for me.
>
>I wanted to get it from OUTSIDE the form, like from a menu.
>
>Strangely enough,
sys(1271, _vfp.ActiveForm)
doesn't work, but
sys(1271, _screen.ActiveForm)
does. I had believed I can use _vfp and _screen interchangeably.
I always used _screen for ActiveForm. You also need to check, if you do have valid object reference.
If it's not broken, fix it until it is.
My Blog