OnAnnUserMenu event (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

TAnnUserMenuEvent OnAnnUserMenu (int nID);

Delphi Syntax

OnAnnUserMenu (nID: longint): TAnnUserMenuEvent

Overview

Refer to Annotation Menu

Remarks

(Document/Medical only) This event is fired when a user-defined menu item has been clicked in an annotation automation menu. The user-defined menu items can be added to the annotation automation menu by processing the OnAnnMenu event and adding user-defined items with the AddItem method.

When a user selects a menu item added with the AddItem method, the OnAnnUserMenu event is fired. The nID parameter passed to this event is the same nID passed to the AddItem method when the item was added to the menu.

See Also

Elements:

OnAnnMenu event, AddItem method

Topics:

Annotations (Document/Medical only): Automation