General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only