mIRC Home    About    Download    Register    News    Help

Print Thread
dialog List hsbar #224365 09/08/10 01:49 PM
Joined: Apr 2010
Posts: 924
F
FroggieDaFrog Offline OP
Hoopy frood
OP Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 924
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
Re: dialog List hsbar [Re: FroggieDaFrog] #224366 09/08/10 02:04 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
You need to update the horizontal scrollbars manually with /did -z.

Re: dialog List hsbar [Re: FroggieDaFrog] #224371 09/08/10 02:41 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
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