ItemID property (TAnnMenu)

C++ Builder example

Delphi example

 

Builder Syntax

int ItemID [int iIndex]

Delphi Syntax

ItemID [iIndex: Integer]: longint

Overview

Refer to Annotation Menu

Remarks

(Document/Medical only) Gets or sets the command ID value for the specified menu item.

The ID value set must be in the range LTANNEVENT_MENUFIRST [$0100] to LTANNEVENT_MENULAST [$01FF].

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

See Also

Elements

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

Topics

Annotations (Document/Medical only): Automation