Profile Picture

Right click Node in NTreelist

Posted By Jan Dijkstra 14 Years Ago
Author
Message
Jan Dijkstra
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 3, Visits: 1

How can I get node info when I rightclick on a node in the NTreelist in the follwing situation?

I am able to left click a node and get the info with the itemnotifycode:

void nTreeList1_ItemNotify(object sender, NLightUIItemNotifyData data)

switch (data.NotifyCode)

{

case NItemsControl.ItemLabelClickNotifyCode : NTreeNode node = data.Sender as NTreeNode;

 

Unfortunally this only works for left mouse down...

 



Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hi Jan,

Instead of checking whether notify code is ItemLabelClickNotifyCode you can check whether it is ItemContextMenuDisplayingNotifyCode.
This notify code occurs when the right button of the mouse is clicked.

Best Regards,
Nevron Support Team



Jan Dijkstra
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 3, Visits: 1

Woaoaoa
It works! THNX!





Similar Topics


Reading This Topic