does this work?
_screen.activeform.name
>Is there some generic way of finding out the name of the currently running form? This would help me figure out in which of my hundreds of forms I have to make corrections.
>
>Help mentions sys(1271), and I tried both of the following:
>
>
>sys(1271, _vfp.ActiveForm)
>
>* and
>
>sys(1271, _vfp.ActiveForm.PgfPageFrame)
>
>
>... where the latter is an object found on many of my forms - including the form with which I tested. But while the debugger shows me an object for the expression alone (e.g., _vfp.ActiveForm.PgfPageFrame), the sys(1271, ...) function only gives me .F.
ICQ 10556 (ya), 254117