mIRC Homepage
Posted By: NiCk2 Combo - 14/07/03 06:20 PM
Hi !
I have a combo in a dialog and it contains a list :
red
blue
green
yellow
I was wondering what are the commands in order to put "green" at the top of it for example or any other item of the list in the combo box.

I have tried many things and none have worked frown
Thank you in advance for any help you may give me smile
Posted By: pheonix Re: Combo - 14/07/03 06:22 PM
/did -d <name> <id> $didwm(<name>,<id>,*green*)
/did -i <name> <id> 1 green
Posted By: saragani Re: Combo - 14/07/03 06:25 PM
It depends on when does it take the data from.

If it is using a loadbuf command, then you should look for the buffer that from it the data is being loaded, and change the order in the buffer itself.
Posted By: KingTomato Re: Combo - 14/07/03 06:46 PM
also /did -c <dname> <id> <line> will select a line, so if you know what line green is on, you can select it rather then moving it to the top (unless that is your intention).
© mIRC Discussion Forums