I have a script that creates a dialog box for selecting a connection and then connecting to it. The following is the dialog box code.
dialogbox 0 8 22 260 114 2 "Select Connection From List"
listbox 1 7 2 204 105 sList SINGLE sChoice
checkbox 2 214 81 42 11 "Console" sConsole
pushbutton 3 214 94 42 14 "Dial"
enddialog
I was wondering if there is a way to make a double-click of a selection in the listbox work the same as clicking the pushbutton?
dialogbox 0 8 22 260 114 2 "Select Connection From List"
listbox 1 7 2 204 105 sList SINGLE sChoice
checkbox 2 214 81 42 11 "Console" sConsole
pushbutton 3 214 94 42 14 "Dial"
enddialog
I was wondering if there is a way to make a double-click of a selection in the listbox work the same as clicking the pushbutton?