set focus to another dialog's textbox - 11/08/12 12:39 PM
hey all,
I want to move/set the cursor to the another textbox/editbox when typing 4 or more digits but cursor does not move.
I want to move/set the cursor to the another textbox/editbox when typing 4 or more digits but cursor does not move.
Code:
alias test { dialog -m test test } dialog test { title "test" size -1 -1 93 53 option dbu edit "", 1, 22 9 50 10 edit "", 2, 23 32 50 10 } on *:dialog:test:edit:1: { set %llen $len($did(test,1).text) if (%llen>=4) { did -f test 2 } }