How to make Enter key the default for a Button - Forum

Forum Navigation
You need to log in to create posts and topics.

How to make Enter key the default for a Button

For a while in one of my apps, I have a button on a Password dialog box which I have to use the mouse or I have setup Ctrl+A (Accept) to complete the action of logging in.

I know other build-in dialog boxes have 'Enter' as the default.
But I would like to change this current action to 'Enter' in my Password dialog.

Is this possible?

I attach a screen shot of what I have.

 

Uploaded files:
  • You need to login to have access to uploads.

@cssystems
In the hotkeys, place the cursor and press Enter. Similarly, you can set Esc to the Cancel key.

Uploaded files:
  • You need to login to have access to uploads.
luiz and alangonzalez91 have reacted to this post.
luizalangonzalez91

Wow! Too Easy.

I was trying to use the dropdown options and Enter or Esc was not there.

Lesson learned.

 

Vadim and alangonzalez91 have reacted to this post.
Vadimalangonzalez91