mIRC Home    About    Download    Register    News    Help

Print Thread
tab hidding in dialog box bug? #160648 29/09/06 02:20 AM
Joined: Sep 2006
Posts: 2
O
Oem Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
O
Joined: Sep 2006
Posts: 2
Is there a bug in 6.2 that would cause tabs to incorrectly hide or not hide from this :

dialog test {
title "mIRC"
size -1 -1 110 100
option dbu
tab "m", 1, 5 5 100 90
tab "I", 2
tab "R", 3,
tab "C", 4
button "m is for ... wink", 11, 30 50 50 24, ok tab 1
button "I is for Internet", 12, 30 50 50 24, tab 2
button "R is for Relay", 13, 30 50 50 24, tab 3
button "C is for Chat", 14, 30 50 50 24, tab 4
}

on *:dialog:test:*:*:{
if ($devent == init) { did -h test 3 } }

Menu Channel,Status,Query,MenuBar,Nicklist {
Tester { dialog -m test test }
}

it is copied from the help file and all i get it is a blank dialog box if i remove -h and put in -v they all show up I just want to remove one tab which later on can be scripted in. I noticed different versions do different things to the same script!!!! confused

Re: tab hidding in dialog box bug? #160649 30/09/06 01:31 AM
Joined: Sep 2006
Posts: 12
R
routed Offline
Pikka bird
Offline
Pikka bird
R
Joined: Sep 2006
Posts: 12
hehe, I was helping you with this earlier in #scripted on dal.net wasn't I? Still having problems?

Digging into the help file I found this line...

You can use /did -fu to set the focus on a specific tab, and /did -vh to show/hide the entire tab control.

Looks like you can't hide one particular tab, you have to hide them all.

Hopefully this will be changed.

-routed

Re: tab hidding in dialog box bug? #160650 30/09/06 03:46 AM
Joined: Sep 2006
Posts: 2
O
Oem Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
O
Joined: Sep 2006
Posts: 2
Yes now that I worked with it a bit the scripting is coming back to me and from what I remember You never could hide the individual tabs. however I guess I'll use either the radio style or the button to hide the main page part of each one I need to do! frown Maybe on the next release they can make it better!!!!