MenuItem Object Properties

Applies to TestComplete 15.69, last modified on November 13, 2024

The MenuItem object contains the following properties:

Property List

Name Description
Caption Returns the caption of the menu item.
Checked Returns True if the menu item is checked. Otherwise - False.
Enabled Returns True if the menu item is enabled. Otherwise - False.
Id Returns the identifier of the menu item.
IsBitmap Returns True if the MFT_BITMAP constant is in the menu item type. Otherwise - False.
IsOwnerdraw Returns True if the MFT_OWNERDRAW constant is in the menu item type. Otherwise - False.
IsRadioCheck Returns True if the menu item is checkable. Otherwise - False.
IsSeparator Returns True if the menu item is a separator. Otherwise - False.
Position Returns the item's position (index) in the menu.
SubMenu Returns this sub menu as a Menu object.

See Also

MenuItem Object

Highlight search results