mIRC Home    About    Download    Register    News    Help

Topic Options
#40130 - 07/08/03 01:30 AM Deselect line in listbox
cvic Offline
Ameglian cow

Registered: 20/02/03
Posts: 38
How can I deselect a line in a listbox?
You can do it by holding CTRL and left click, but is it possible to do it with script?

Top
#40131 - 07/08/03 01:34 AM Re: Deselect line in listbox
pheonix Offline
Hoopy frood

Registered: 06/05/03
Posts: 2265
is it mircs main listbox or a dialog listbox?
_________________________
new username: tidy_trax

Top
#40132 - 07/08/03 02:04 AM Re: Deselect line in listbox
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
If you mean dialog list box use this:
/did -u dialogname id linenumber
i.e
/did -u dialog 1 4.
That would uncheck line 4 in the list box.

Top
#40133 - 07/08/03 02:06 AM Re: Deselect line in listbox
pheonix Offline
Hoopy frood

Registered: 06/05/03
Posts: 2265
and if u mean main listbox its:
/sline -r #channel - for all selections
/sline -r <name> - for nickname
/sline -r <number> - nth line in listbox

_________________________
new username: tidy_trax

Top
#40134 - 07/08/03 03:55 AM Re: Deselect line in listbox
cvic Offline
Ameglian cow

Registered: 20/02/03
Posts: 38
No. Sorry.
I mean listboxes in custom windows.

Top
#40135 - 07/08/03 04:01 AM Re: Deselect line in listbox
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
/sline -r @Window

Top
#40136 - 07/08/03 04:12 AM Re: Deselect line in listbox
cvic Offline
Ameglian cow

Registered: 20/02/03
Posts: 38
Ehm, OK blush
Easier than I thought. As always...
Thanks.


...But... The help file only says: The -r switch is used with /cline to reset a nickname color in a channel listbox to the default color.

Top
#40137 - 07/08/03 09:28 AM Re: Deselect line in listbox
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
Well, it works doesn't it? grin

Top
#40138 - 07/08/03 10:43 PM Re: Deselect line in listbox
lammkott Offline
Fjord artisan

Registered: 12/05/03
Posts: 215
Loc: Australia
From the help file...
Search: /sline
mIRC Commands p to z.
---
/sline [-a|r] <#channel> <N|nick>

Selects or deselects lines in a channel nickname listbox.
It can select either the Nth nickname in a listbox, or a specified
nickname.

If you do not specify any switches, any existing selections
in the listbox are cleared. If you specify the -a switch then
the specified is selected without affecting the selection
states of other lines. If you specify the -r switch then the
specified item is deselected.
_________________________
- Jason

Top
#40139 - 07/08/03 11:59 PM Re: Deselect line in listbox
SladeKraven Offline
Planetary brain

Registered: 19/12/02
Posts: 3547
Loc: Kent, England
Mine was just a guess. I hardly ever use the mIRC help file.

Top