Sign in to follow this  
Followers 0
=sinister=

Focus on a GUI Control When Not Focused On

2 posts in this topic

I want to focus on a GUI control when it isn't focused on. So like I want to focus on an input control when the user clicks on something else.

I know to focus on the input control you can use this:

GUICtrlSetState($MyControl, $GUI_Focus)

but putting that in the loop makes the input "Uniputable" (lol). So is there a way to find out if the control is not focused on? That way I could put the line in an if statement.

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