Jump to content

Focus on button after pressing enter


jezr74
 Share

Recommended Posts

Hi There,

Can anyone guide me on how to control the focus within a gui.

I have made a simple logon gui. consisting of two inputs (username and password), and two buttons, enter, which will continue running the script if the creds are correct and exit gui.

After typing in username and password, it would be good if I can just press the

Enter key, and it automaticlly selects the Enter button. Currently I have to either tab or click the enter button.

Hope this makes sense.

thanks in advance.

jtsm

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...