/did to activate a custom dialog tab - 08/09/18 09:36 AM
Is there any way to use /did to activate a custom dialog tab?
alias test { dialog -m test test } dialog test { title "test" size -1 -1 200 200 option map tab "a", 1, 0 0 200 200 tab "b", 2 } on *:DIALOG:test:init:0:{ ;; doesn't work did -fu $dname 2 ;; works .timer 1 0 did -fu $dname 2 }
dialog TestTabActivate { title TestTabActivate size -1 -1 100 100 option dbu tab "Tab 1", 1, 2 2 96 96 tab "Tab 2", 2 tab "Tab 3", 3 } on *:dialog:TestTabActivate:init:0: { did -f $dname 2 } alias TestTab dialog -mdh TestTabActivate TestTabActivate
dialog TestTabActivate { title TestTabActivate size -1 -1 100 100 option dbu tab "Tab 1", 1, 2 2 96 96 tab "Tab 2", 2 tab "Tab 3", 3 } on *:dialog:TestTabActivate:init:0: { .timer 1 0 did -f $dname 2 } alias TestTab dialog -mdh TestTabActivate TestTabActivate