MoverBars Property

Visual Studio .NET 2003

Specifies whether mover bars are displayed on a ListBox control. Available at design time; read/write at run time.

ListBox.MoverBars[ = lExpr]

Property Values

The settings for the MoverBars property are:
Setting Description
True (.T.) Display mover bars.

Users can interactively reorganize the contents of the control.

False (.F.) Does not display mover bars. (Default)


You can select and move an item by pressing CTRL+UP ARROW, CTRL+DOWN ARROW, using the mouse, or programmatically by calling the MoveItem method. The OnMoveItem event occurs when an item moves up or down in a list box.

The MoverBars property is available only if the RowSourceType property is set to 0 (None) or 1 (Value).

See Also

RowSourceType Property | ScrollBars Property | OnMoveItem Event | MoveItem Method

Applies To: ListBox