Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Fri Oct 07, 2005 3:32 pm Post subject: HOWTO : Determine the node that was right-clicked in the PopupContextMenu event in FolderView.Net |
|
|
To determine the node that was right-clicked in the PopupContextMenu event, use the NodeRightClick event to save the reference to the node that is passed with the
FolderViewCancelEventArgs associated with the NodeRightClick event. This saved reference can then be used in the PopupContextMenu event.
In Build 552008 or later, there is a more easy way to do this in the PopupContextMenu event itself : use the Node property of the PopupContextMenuEventArgs associate with the PopupContextMenu event. |
|