mIRC Homepage
Posted By: MaGoNeGrO list box problem - 26/07/03 06:12 PM
dialog box {
title "New Project"
size -1 -1 305 93
option dbu
list 1, 143 15 144 69, size hsbar vsbar
}

/did -i caca 143 154 welcome


i will like to fill with some text on list box ,can you helpme


tnx

Posted By: Watchdog Re: list box problem - 26/07/03 06:23 PM
To add entries:

did -a box 1 List entry 1
did -a box 1 List entry 2
did -a box 1 List entry 3

To remove all entries:

did -r box

To remove all and add a new one at the same time:

did -ra box 1 New list entry 1
Posted By: MaGoNeGrO Re: list box problem - 26/07/03 06:37 PM
dialog caca {
title "New Project"
size -1 -1 305 93
option dbu
list 1, 143 15 144 69, size hsbar vsbar
}

on 1:dialog:caca:sclick: {

did -a caca 1 List hola
did -a caca 1 List ke tal
did -a caca 1 List como va


}

like this?

Posted By: Watchdog Re: list box problem - 26/07/03 07:18 PM
Yep.
Posted By: MaGoNeGrO Re: list box problem - 26/07/03 07:49 PM
why can i do ,work
Posted By: LocutusofBorg Re: list box problem - 26/07/03 07:55 PM
huh?
Posted By: MTec89 Re: list box problem - 26/07/03 07:57 PM
say what?? this code is wrong:
Code:
dialog caca {
title "New Project"
size -1 -1 305 93
option dbu
list 1, 143 15 144 69, size hsbar vsbar
}
on 1:dialog:caca:sclick: {
did -a caca 1 List hola
did -a caca 1 List ke tal
did -a caca 1 List como va
}


try this:
Code:
dialog caca {
title "New Project"
size -1 -1 305 93
option dbu
list 1, 143 15 144 69, size hsbar vsbar
}
on 1:dialog:caca[color:red]:init:*:[/color]  {
did -a caca 1 List hola
did -a caca 1 List ke tal
did -a caca 1 List como va
}
Posted By: MaGoNeGrO Re: list box problem - 26/07/03 07:59 PM
no work sorry
Posted By: MTec89 Re: list box problem - 26/07/03 08:08 PM
didnt work?

Code:
dialog caca {
  title "New Project"
  size -1 -1 305 93
  option dbu
  list 1, 143 15 144 69, size hsbar vsbar
}
on 1:dialog:caca:init:*:  {
  did -a caca 1 List hola
  did -a caca 1 List ke tal
  did -a caca 1 List como va
}
alias caca dialog -m caca caca


i know this works... you did somthing wrong
© mIRC Discussion Forums