Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning absolute name of object
Message
From
16/06/2000 06:09:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Returning absolute name of object
Miscellaneous
Thread ID:
00381253
Message ID:
00381253
Views:
54
Does anybody know how to return the absolute name of a control on a form ?

For example, thisform.activecontrol.name will return the name of the control that currently has the focus, rather like _curobj. However, if that object is a member of a container, or perhaps it's on a pageframe, only name of the control itself is returned, and not the entire dynamic name.

So, if I place a text box called 'tbx1general1' on a pageframe called 'pgf1general1', and then in the gotfocus() of 'tbxgeneral1' I executed 'wait thisform.activecontrol.name window', I would expect to see 'tbx1general1'. However, I would actually like to see 'thisform.pgf1general1.tbx1general1'.

Any ideas ??????????

Regards

Derek
Next
Reply
Map
View

Click here to load this message in the networking platform