Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active Control
Message
From
06/07/2004 19:09:55
John Tomblin
Service Station Systems, Inc.
San Jose, California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Active Control
Miscellaneous
Thread ID:
00921234
Message ID:
00921234
Views:
67
I want to find out what control on a form is currently active in code. I tried putting a text box on the form with the control source of Thisform.ActiveControl. This produces an errer at runtime that says ActiveControl is not an object. I also tried: Thisform.ActiveControl.Name and Thisform.Controls(Thisform.ActiveControl).Name. All produce the same error.

There must be a way to ask Foxpro what the active control is. Can anyone help?
Next
Reply
Map
View

Click here to load this message in the networking platform