AutoSetTool property (TAnnMenu)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

bool AutoSetTool

Delphi Syntax

AutoSetTool: Boolean

Overview

Refer to Annotation Toolbar .

Remarks

(Document/Medical only) Contains a value that indicates whether the toolbar will automatically set the automation tool. Possible values are:

Value

Meaning

True

Setting the AnnTool property of the LEADAnn control will also set the Tool property of the AnnTool object and will update the annotation toolbar, if the bar has been created.

False

The AnnTool property of the LEADAnn control and the Tool property of the AnnTool object are independent.

To synchronize the AnnTool property of the LEADAnn control and the Tool property of the AnnTool object, set AutoSetTool to True, or keep track of the currently selected tool by intercepting the OnAnnToolChecked event of the LEADAnn control.

See Also

Elements

ButtonBitmapDown property, ButtonBitmapUp property, ButtonColumns property, ButtonCount property,ButtonMenuText property, ButtonMenuTextID property, ButtonMenuTool property, ButtonRows property, ButtonTool property, ButtonToolCount property, ButtonToolTipText property, ButtonToolTipTextID property, ButtonVisible property, CreateTB method, h_Wnd property, Tool property, Visible property

Topics

Annotations (Document/Medical only): Automation