mIRC Home    About    Download    Register    News    Help

Print Thread
#47045 04/09/03 08:02 AM
O
Om3n
Om3n
O
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)

Last edited by Om3n; 04/09/03 08:04 AM.
#47046 04/09/03 08:44 AM
Joined: Mar 2003
Posts: 1,256
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,256
/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,

#47047 04/09/03 11:03 AM
O
Om3n
Om3n
O
I tried all the -fu combinations i could think of earlier also, but nothing seems to work.

#47048 04/09/03 08:21 PM
V
vexx0r
vexx0r
V
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:

#47049 05/09/03 06:58 AM
O
Om3n
Om3n
O
/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

#47050 05/09/03 07:07 AM
N
Naz
Naz
N
From your menu you can use
Code:
 
Menuitem:dialog -m name name | did -f name id
 

to accomplish this as well.


Link Copied to Clipboard