mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2005
Posts: 5
J
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Apr 2005
Posts: 5
Here's the code to my dialog. Notice that I initialize it with a long line (thats longer than the width of the scroll bar)
But it doesnt display the horizontal scroll bar to move to the right
I'm pretty sure its a bug...

dialog test {
title Test
size -1 -1 125 156
option dbu
list 2, 9 26 115 85, hsbar
}

on *:dialog:test:init:0: {
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo

}

Joined: Dec 2002
Posts: 208
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Dec 2002
Posts: 208
You have to use the -z switch for /did to get it to update the scrollbar. I think the idea is so that you can add many lines, and then update after just the last one, which can make it work faster. Try like this:

on *:dialog:test:init:0: {
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -a test 2 /.MSG <> hi there wants your name dude my name is steveo
/did -az test 2 /.MSG <> hi there wants your name dude my name is steveo
}

(note the z on just the last /did)

edit: Maybe that should be made more clear in future versions of the help file. If I didn't happen to already know that, I would have thought it was a bug too.

Last edited by Hrung; 18/04/05 08:36 AM.
Joined: Jan 2005
Posts: 20
C
Ameglian cow
Offline
Ameglian cow
C
Joined: Jan 2005
Posts: 20
There still is a but with the listbox hsbar.
After /did -z it updates too long. Instead of sizing to the end of the text it sizes to about 30% longer then the text displayed so there's a long white space at the end of the line, meaning that even if the hsbar isn't needed it still sizes way too long having the hsbar when it isn't needed.


Link Copied to Clipboard