MixedState Property

           

Returns or sets a value that determines if a Button object in a Toolbar control appears in an indeterminate state.

Syntax

object.MixedState [= boolean]

The MixedState property syntax has these parts:

Part Description
object An object expression that evaluates to a Button object.
boolean A Boolean expression that determines if a Button shows the indeterminate state, as specified in Settings.

Settings

The settings for boolean are:

Setting Description
True The Button object is in the indeterminate state and becomes dimmed.
False The Button object is not in the indeterminate state and looks normal.

Remarks

The MixedState 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 MixedState property is used. The image displayed by the Button object could then be changed to indicate its state, which would differ from the Checked and Unchecked value returned by the Value property.