Right click Node in NTreelist


Author
Message
Jan Dijkstra
Jan Dijkstra
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
Posts: 3, Visits: 1

Woaoaoa
It works! THNX!


Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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
Jan Dijkstra
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
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...

 


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search