mIRC Home    About    Download    Register    News    Help

Print Thread
#36305 14/07/03 06:20 PM
Joined: Mar 2003
Posts: 63
N
NiCk2 Offline OP
Babel fish
OP Offline
Babel fish
N
Joined: Mar 2003
Posts: 63
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

#36306 14/07/03 06:22 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
/did -d <name> <id> $didwm(<name>,<id>,*green*)
/did -i <name> <id> 1 green

Last edited by pheonix; 14/07/03 06:24 PM.

new username: tidy_trax
#36307 14/07/03 06:25 PM
Joined: Feb 2003
Posts: 282
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Feb 2003
Posts: 282
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.

#36308 14/07/03 06:46 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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).


-KingTomato

Link Copied to Clipboard