GetSubMenu method (TAnnMenu)

C++ Builder example

Delphi example

 

Builder Syntax

TAnnMenu * GetSubMenu (int iIndex);

Delphi Syntax

Function GetSubMenu (iIndex: integer): TAnnMenu;

Overview

Refer to Annotation Menu

Remarks

(Document/Medical only) Gets the object that references the specified submenu.

This method will only work for menu items of type ANNMENUITEMTYPE_SUBMENU.

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

See Also

Elements

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

Topics

Annotations (Document/Medical only): Automation