Jump to content

keyboard recognition in dialog boxes


nexusoblivion

Recommended Posts

I dont really get into the chat rooms any more. I put odd features into my clients for work usage. Currently I'm looking for a way to have the enter key treated like an sclick in a dialog box. I remember seeing some snippet of code for this type of thing years ago but I failed to remember it and I am incredibly rust on most functions. anyone can help I would greatly appreciate it. 

Link to comment
Share on other sites

you can make it the default button. So when you hit enter it triggers that button

button "Button", 1, 12 18 37 12, default

or you can make it default using did -t or you can set focus on it by using did -f

hopefully I understood your question correctly.

 

 

Link to comment
Share on other sites

  • 2 months later...

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
×
×
  • Create New...