Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCX of current form
Message
From
18/04/2007 10:33:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
SCX of current form
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01217302
Message ID:
01217302
Views:
60
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.
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)
Next
Reply
Map
View

Click here to load this message in the networking platform