nexusoblivion Posted July 31, 2023 Report Share Posted July 31, 2023 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 More sharing options...
err0r Posted July 31, 2023 Report Share Posted July 31, 2023 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 More sharing options...
nexusoblivion Posted October 12, 2023 Author Report Share Posted October 12, 2023 wasnt actually able to get it to work that way. just ended up using a $$?="" in a loop so I could use it to scan serial numbers. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now