mIRC Home    About    Download    Register    News    Help

Print Thread
#47045 04/09/03 08:02 AM
Joined: Jul 2003
Posts: 655
Om3n Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
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.

"Allen is having a small problem and needs help adjusting his attitude" - Flutterby
#47046 04/09/03 08:44 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
/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,


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#47047 04/09/03 11:03 AM
Joined: Jul 2003
Posts: 655
Om3n Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
I tried all the -fu combinations i could think of earlier also, but nothing seems to work.


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby
#47048 04/09/03 08:21 PM
Joined: Jul 2003
Posts: 46
V
Ameglian cow
Offline
Ameglian cow
V
Joined: Jul 2003
Posts: 46
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
Joined: Jul 2003
Posts: 655
Om3n Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
/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


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby
#47050 05/09/03 07:07 AM
Joined: Feb 2003
Posts: 67
N
Naz Offline
Babel fish
Offline
Babel fish
N
Joined: Feb 2003
Posts: 67
From your menu you can use
Code:
 
Menuitem:dialog -m name name | did -f name id
 

to accomplish this as well.


Those who live by the sword get shot by those who don't.

Link Copied to Clipboard