Using /did -f on a tab control inside the init event results in weird behavior, the specified tab doesn't have the focus and is locked until you activate another tab:

Code:
dialog test {
  size -1 -1 200 200
  tab "", 1, 10 10 100 100
  tab "", 2
  button "", 3, 10 150 30 15 
}
on *:dialog:test:init:0:{
  echo -a init test
  did -f test 2
}
The first tab will be in focus instead of the second, you can't activate that second tab until you click inside the first one (on its "titlebar")


#mircscripting @ irc.swiftirc.net == the best mIRC help channel