Click or drag to resize

MenuCommandEvent Class

X#
Provide information about a MenuCommandEvent, generated when the user executes a menu item, either directly or through the use of accelerator keys.
Inheritance Hierarchy
Object
  Event
    MenuCommandEvent

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.24 GA
Syntax
 CLASS MenuCommandEvent INHERIT Event
Request Example View Source

The MenuCommandEvent type exposes the following members.

Constructors
  NameDescription
Public methodMenuCommandEvent
Initializes a new instance of the MenuCommandEvent class
Top
Properties
  NameDescription
Public propertyHyperLabel
The hyperlabel connected to the menu item that generated this MenuCommandEvent.
Public propertyItemID
A numeric value representing the ID of the menu item that generated this MenuCommandEvent.
Public propertyMenu
The Menu object that generated this MenuCommandEvent.
Public propertyName
A string representing the name stored in the hyperlabel of the menu item that generated this MenuCommandEvent.
Public propertyNameSym
A symbol representing the name stored in the hyperlabel of the menu item that generated this MenuCommandEvent.
Top
Methods
  NameDescription
Public methodAsString
Return the caption of the selected menu item.
Top
Remarks
MenuCommandEvent events are passed to Window:MenuCommand(), which dispatches the method indicated in the menu item's hyperlabel.
See Also

Reference