General information
Category:
Coding, syntax & commands
>How can I know if an specific control has the focus.
type('thisform.activecontrol.name') = 'C' and thisform.anobject = thisform.activecontrol
The above should be true if 'AnObject' has focus. I'm not sure if that will work by itself or you will need to use CompObj() to compare the objects. Notice that you can't jsut compare the Name properties because of containership.
Previous
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