Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design time object reference
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00381576
Message ID:
00381600
Views:
13
If you can figure out which form [i], the following will give you close to what you want as far as the control name:

_screen.forms[i].activecontrol

According to VFP Help [and my experience] _screen.activeform will not work because it not available at design time and is read-only at runtime.

I guess you need this for some other reason, but you do have the combo boxes at the top of each code window that identify which control and method you are in.

>True, but how do I get the information from the window? I need to get it into a variable. I looked through all the SYS commands, but they all seem to only work at run time.
>
>Thanks,
>
>Michelle
>
>>Does clicking on the Window menu pad work? There will be a check mark next to the active window.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform