What i am trying to do is set a default tab in a dialog, that is, i dont want the first tab to be the one that is shown when the dialog is launched. I have tried what the help file says... /did -vh $dname 4 3... /did -v $dname 4... /did -h $dname 3 ect
Maybe i am putting it in the wrong place? (on dialog init)
/did -v and /did -h show and hide the tab. Try /did -fu.
helpfile: You can use /did -fu to set the focus on a specific tab,
I tried all the -fu combinations i could think of earlier also, but nothing seems to work.
I have had this problem before, simply fixed by making this command /did -f $dname dialogname id for example in my case
it was like this
on init blah blah: { did -f $dname cpanel 34 | other init commands }
I don't know if this is what you needed but blah, we can't win them all.. :tongue:
/did -f $dname rls_set 4
* /did: 'rls_set' invalid id '0' (line 44, rls.ini)
must use as... /did -f $dname 4
For anybody else who may be interested, i seems that this is an init problem. /did will not allow you to change the focus in a dialog from within the init event.
.timer -u 1 0 did -f $dname id worked for me.
Thanks for the replys
From your menu you can use
Menuitem:dialog -m name name | did -f name id
to accomplish this as well.