Sign in to follow this  
Followers 0
Rad

ControlGetFocus

2 posts in this topic

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:

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

Share this post


Link to post
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
Sign in to follow this  
Followers 0