Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design time object reference
Message
From
16/06/2000 15:25:14
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00381576
Message ID:
00381621
Views:
14
>I only have 1 form open, so I tried:
>
>? _screen.forms[1].activecontrol
>
>and it tells me that activecontrol is not an object.
>
>I tried:
>
>? _screen.forms[1].activecontrol.name
>
>and got the same error.
>
>I did this in the command window. Is it because the form no longer had the focus?
>

I think that's the case. ActiveControl is only valid while the form has the focus.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform