Jump to content

ControlGetFocus


Rad
 Share

Recommended Posts

I need to get the control ID of the currently selected inputbox...

ControlGetFocus would work but its returning Edit1 which, obviously, does not equal 7 (The control ID of the input box)

What should I do? Why is ControlGetFocus like the only function to even use the Class Name of a control?

Type in ClassNameNN to the search on the helpfile and only that comes up :whistle:

Link to comment
Share on other sites

Umm...

Ok... Thanks?

Alright yeah that worked. Do I have an authority? What do you mean?

Wouldnt it make more sense if "If ControlGetFocus("My Window") = $MyControl Then GUICtrlSetData($MyControl, "")" was true? Thats all I am saying

Edited by Rad
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...