ItemType property (TAnnMenu)

C++ Builder example

Delphi example

 

Builder Syntax

int ItemType [int iIndex]

Delphi Syntax

ItemType [iIndex: Integer]: Integer

Overview

Refer to Annotation Menu

Remarks

(Document/Medical only Read only) Gets the specified menu item’s type. Possible values are:

Value

Meaning

ANNMENUITEMTYPE_NORMAL

[0] Normal menu item.

ANNMENUITEMTYPE_SEPARATOR

[1] Menu item is a separator.

ANNMENUITEMTYPE_SUBMENU

[2] Menu item is a popup menu.

This property is associated with the AnnMenu object that is passed to the OnAnnMenu event.

See Also

Elements

OnAnnMenu event, Count property, ItemString property, ItemID property, ItemChecked property, ItemEnabled property, DeleteItem method, AddItem method, GetSubMenu Method

Topics

Annotations (Document/Medical only): Automation