Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCX of current form
Message
 
To
18/04/2007 10:33:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01217302
Message ID:
01217311
Views:
7
This message has been marked as a message which has helped to the initial question of the thread.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform