mIRC Home    About    Download    Register    News    Help

Print Thread
#87679 20/06/04 10:07 PM
Joined: Jun 2004
Posts: 1
M
mafix Offline OP
Mostly harmless
OP Offline
Mostly harmless
M
Joined: Jun 2004
Posts: 1
Okay, first of all, sorry for my bad english!

I have a treeview list made with the mdx.dll.
What should I do to make something happen when I click on some item or subitem in the list?

Like the /setup in NNScript 3.81.

Hope you undestand. grin


#87680 21/06/04 10:56 AM
Joined: Nov 2003
Posts: 228
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Nov 2003
Posts: 228
I haven't worked with MDX for quite a while but if I remember correctly you can use $did().sel to return the line number, then you can just use an if statement to perform the tasks you want assigned to that line.

If $did().sel doesn't work, try $did().seltext. I know it's one of the two, or it could be both.

#87681 21/06/04 12:06 PM
Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
$did().sel should work keep in mind that line 1 is already reserved so start counting at 2 smile


$maybe

Link Copied to Clipboard