ButtonMenuTool property (TAnnMenu)
Builder Syntax |
int ButtonMenuTool [int iButtonIndex][int iToolIndex] |
Delphi Syntax |
ButtonMenuTool [iButtonIndex: integer; iToolIndex: integer]: integer |
Overview |
Refer to Annotation Toolbar |
Remarks
(Document/Medical only) Contains the tool associated with the specified menu item of the specified annotation toolbar button.
For example, if ButtonMenuTool [2, 1] contains the value ANNTOOL_POINT, then the second menu item of the third button of the annotation toolbar will be associated with the Point Tool. Therefore, when the user clicks on the third button of the annotation toolbar a menu will be displayed with all the tools associated with that button. The second menu item will be the Point Tool.
Use the ButtonMenuText and ButtonMenuTextID properties to set the text for the menu item.
The ButtonMenuXXX properties are only used for buttons that are associated with multiple tools.
See Also