mIRC Home    About    Download    Register    News    Help

Print Thread
#87800 22/06/04 11:22 AM
Joined: Mar 2004
Posts: 1
M
Mostly harmless
OP Offline
Mostly harmless
M
Joined: Mar 2004
Posts: 1
Heya, just a small question about "List Indexes".

If any of you's have used Visual Basic .NET (Or lower i think), then you should know what List Indexes are. I was wondering is there something similar in mIRC lists. I have 2 list boxes, and when i select an entry in one, i want the corresponding entry in the other list box to be highlighted also (If index one in list box one is clicked, then i want index one in list two be highlighted). This might be a bit confusing, but i hope you understand, either way its just a curious question, and also an excuse to have more than 0 posts lol.

Take care, thanks for ya time

Jedi Master_Yoda smirk


For my allie is the force, and a powerful allie it is! You must, feel the force around you!
#87801 22/06/04 11:32 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Look up $did() and its .sel property in the help file

Also, to select the Nth line, you'd use /did -c

Last edited by qwerty; 22/06/04 11:33 AM.

/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#87802 22/06/04 11:34 AM
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
If for example you mean that when someone selects line 5 in a dropdown, then at the same time, line 5 is selected in the 2nd dropdown, this is done using

On Dialog, sclick.

$did(name,id).sel - returning the line of the first dropdown.

and, /did -c

Eamonn.


Link Copied to Clipboard