Skip to content
IRCd Addons

keyboard recognition in dialog boxes

A TG007 community discussion started by nexusoblivion.

Discussion 3 posts
Page 1 of 1
Open
Topic #16730 · 3 published posts · 2,308 views

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. 

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.

 

 

Get information about ircWx here

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.