OnAnnMenu event (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

TAnnMenuEvent OnAnnMenu (TAnnMenu* AnnMenu);

Delphi Syntax

OnAnnMenu (AnnMenu: TAnnMenu): TAnnMenuEvent

Overview

Refer to Annotation Menu

Remarks

(Document/Medical only) Occurs just before an annotation automation menu is displayed.

The AnnMenu parameter is an object that references the menu that will be displayed. Use this AnnMenu object to modify the menu prior to displaying it.

The following properties and methods are associated with the AnnMenu object:

Count property

ItemString property

ItemID property

ItemType property

ItemChecked property

ItemEnabled property

DeleteItem method

AddItem method

GetSubMenu Method

See Also

Elements:

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

Topics:

Annotations (Document/Medical only): Automation