WindowSplitter Xojo Plugin

RectControl.ContextualMenuItemSelected Event

Fires when a contextual menuitem selectedItem was selected but the MenuItemSelected event and the MenuHandler for the MenuItem did not handle the menu selection.

ContextualMenuItemSelected(
   selectedItem as MenuItem) as Boolean

Parameters

selectedItem
The selected menu item.

Returns

Boolean
Return True if this event has handled the item the user chose from the contextual menu. Returning False will cause the control's parent to execute its ContextualMenuAction event. This can be handy if you have the same contextual menu for several controls who share the same Parent (several on the same window for example). By returning False you can handle them all in a single event.

Remarks

This event is part of Xojo base class.