MenuItem Object

Represents a menu item of the ConceptDraw user-defined menu.

Properties

Type Read-only. The menu item type.
CmdID Read-only. The menu item ID.
Caption The name of the menu item.
Prompt The prompt for the menu item.
Enabled A flag that specified whether the menu item is enabled or disabled.
Checked A flag that specified whether the menu item is checked.
Parent Read-only. The parent menu for the menu item.
SubMenu Read-only. The submenu for the menu item.
OnCmdModule Read-only. The name of the module associated with the menu item.
OnCmdSub Read-only. The name of a procedure to process the menu item.
OnCmdArgs The argumets string wich passed to the processing procedure.

Methods

SetCmdProcessing Sets a procedure for processing the menu item.

Remarks

An instance of the MenuItem object can be retrieved by using the following methods of the Menu object:AddMenuItem method, MenuItem method, MenuItemByCmdID method.

 

See Also

AddMenuItem method, MenuItem method, MenuItemByCmdID method, Menu object