Indeterminate Property (AToolBarButton)

Returns or sets whether the specified button in a toolbar control is indeterminate.

Syntax

Object.Indeterminate [ = bIndeterminate ]

The Indeterminate property syntax has the following parts:

 

Name

Type

Description

Object

AToolBarButton

AToolBarButton class

bIndeterminate

Bool

A boolean expression that specifies whether the specified button in a toolbar control is indeterminate.

Where

bIndeterminate can be one of the following:

 

Value

Description

True

The specified button is in the indeterminate state and becomes dimmed.

False *

The specified button is not in the indeterminate state and looks normal.

Comments

The Indeterminate property is typically used when a selection contains a variety of attributes. For example, if you select text that contains both plain (normal) characters and bold characters, the Indeterminate property is used. The image displayed by the AToolBarButton object could then be changed to indicate its state, which would differ from the Checked and Unchecked value returned by the Value property.

Example

The following statement changes the specified button in a toolbar control to be indeterminate:

tbrb1.Indeterminate=TRUE

Applies to

AToolBarButton

See Also

Value, Visible