ButtonMenuText property (ILEADRasterAnnToolBar)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

BSTR ButtonMenuText (short iButtonIndex, short iToolIndex);

Overview

Refer to Annotation Toolbar.

Remarks

String containing the menu text for the specified menu item of the specified button in the AnnToolbar object. For example, if ButtonMenuText(2,1) contains the string "Select", then when the user clicks the button at the position (iButtonIndex = 2) of the annotation toolbar, a menu will be displayed. The second menu item will display the text Select.

This property is only valid if ButtonMenuTextID is -1.

The ButtonMenuXXX properties are only used for buttons that are associated with multiple tools.

See Also

Elements

AnnGetFillModeExt method, AnnSetFillModeExt method, AnnFillMode property, AnnAlpha property, AnnSetOptions method, AnnGetOptions method, AnnSetTextOptions method, AnnGetTextOptions method, AnnShowText property, AnnShowBorder property, AnnTextColor property, AnnAutoSnapCursor property, AnnTextEdit method, AnnShowRotateHandles property, AnnGetRotateOptions method, AnnSetRotateOptions method, AnnCalibrateRuler method, ButtonBitmapDown property, ButtonBitmapDown property, ButtonColumns property,ButtonCount property, ButtonMenuTextID property, ButtonMenuTool property, ButtonRows property, ButtonTool property, ButtonToolCount property, ButtonToolTipText property, ButtonToolTipTextID property, ButtonVisible property, Create method, ParenthWnd property, Tool property, Visible property

Topics

Annotations (Document/Medical only): Automation