>>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.
>
>They are not the same. _VFP is reference to VFP COM interrface.
Ok, thanks. I guess that means it may have a more limited functionality, as indeed in this case it didn't work.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)