Click or drag to resize

Window.MenuSelect Method (Typed)

X#
Provide a method that is invoked when an item on a menu owned by this window is selected.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD MenuSelect(
	oMenuSelectEvent AS MenuSelectEvent
) AS USUAL
Request Example View Source

Parameters

oMenuSelectEvent
Type: MenuSelectEvent
The MenuSelectEvent object that describes which menu and menu command (via the item's ID) generated the event.

Return Value

Type: Usual
This method calls Window.Default() and returns the result of Window.Default()
Remarks
Tip Tip
Important! This is a callback method used by X#. Normally, it should not be called in your application code.
One use for this event handler is to provide more extensive help with the user's current selection. Selecting a menu command does not necessarily imply that it is invoked, only that the menu highlight bar is currently over this item.
See Also