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:
01217312
Views:
12
Re: Get name of SCX Thread #897222 Message #897232

BTW, sys(1271, thisform) works for me.


>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform