Returns or sets whether the specified button in a toolbar control is indeterminate.
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. |
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. |
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.
The following statement changes the specified button in a toolbar control to be indeterminate:
tbrb1.Indeterminate=TRUE