Visual Basic: Windows Controls

FixedOrder Property

See Also   Example   Applies To

Returns or sets a value indicating whether the user is allowed to rearrange the order of the bands on a CoolBar control at run time.

Syntax

object**.FixedOrder** [= boolean]

The FixedOrder property syntax has these parts:

Part Description
object An object expression that evaluates to a CoolBar control.
boolean A Boolean expression specifying whether the band is visible or hidden.

Settings

The settings for boolean are:

Setting Description
False (Default) Bands can be rearranged.
True Bands cannot be rearranged.

Remarks

To fix the arrangement of bands on a CoolBar control, set the FixedOrder property to True at design time. This will prevent the user from rearranging the bands using drag and drop. Setting this property in code enables you to disable or enable the ability to rearrange bands at run time in response to a particular event. Setting this property affects all bands contained in a CoolBar control.