NoItemRightClick
NoItemRightClick() Event
Right click on a non-item area
Applies to: Tree
Introduced in KCML version 5.03
NoItemRightClick() Event
Right click on non data area in graph
Applies to: Graph
Introduced in KCML version 6.00
This event handler is called if the user right clicks on a tree control away on a node or a leaf within the tree. It supplements the RightClick() event which is triggered by clicking on a tree node or leaf.
Note that this event handler can be used to display popup menus by calling the TrackPopup() menu control method. Use the MouseX and MouseY properties to position the popup menu at the point on the control surface the click occurred.
Graph
The NoItemRightClick() event is triggered when the user right-clicks onto an area of the graph not occupied by a bar element, pie sector or legend. If the user clicks on one of these items the RightClick event is triggered instead.
Note that this event handler can be used to display popup menus by calling the TrackPopup() menu control method. Use the MouseX and MouseY properties to position the popup menu at the point on the control surface the click occurred.