mIRC Home    About    Download    Register    News    Help

Print Thread
#224365 09/08/10 01:49 PM
Joined: Apr 2010
Posts: 969
F
Hoopy frood
OP Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
ListBox hsbar bug:


List 1 and 2 are correct(No hsbar)
But on list 3, even though hsbar is specified it isn't present
On List 4, it's present(hsbar with vsbar), but disabled
Code:
dialog test {
  title test
  option pixel
  size -1 -1 400 400
  list 1, 0 0 200 200,
  list 2, 200 0 200 200, vsbar
  list 3, 0 200 200 200, hsbar
  list 4, 200 200 200 200, vsbar hsbar
}
on *:DIALOG:test:Init:0:{
  var %x = 1
  while (%x <= 20) {
    did -a $dname 1 $str(This is list:1,10)
    inc %x
  }

  var %x = 1
  while (%x <= 20) {
    did -a $dname 2 $str(This is list:2,10)
    inc %x
  }
  var %x = 1
  while (%x <= 20) {
    did -a $dname 3 $str(This is list:3,10)
    inc %x
  }
  var %x = 1
  while (%x <= 20) {
    did -a $dname 4 $str(This is list:4,10)
    inc %x
  }
}



I am SReject
My Stuff
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
You need to update the horizontal scrollbars manually with /did -z.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Just a note on /did -z... you should use /did -z whenever you change what is in the list (after the change is made) as well as after you add everything to the list initially.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard