Visual Basic: Windows Controls

Appearance Property (FlatScrollBar Control)

See Also   Example   Applies To

Returns or sets the appearance of a FlatScrollBar control

Syntax

object.Appearance [= integer]

The Appearance property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
integer A numeric expression specifying the style of the scroll bar, as described in Settings.

Settings

The settings for integer are:

Constant Value Description
fsb3D 0 Scroll bar will have the three-dimensional appearance of a standard Windows scroll bar.
fsbFlat 1 (Default) Scroll bar will appear two-dimensional.
fsbTrack3D 2 Scroll bar will appear two-dimensional, with the thumb and arrow buttons becoming three-dimensional when the mouse passes over them.

Remarks

The Appearance property sets the look of the scroll bar, and determines whether it will be 2-D, 3-D, or a combination. The combination scroll bar changes the scroll arrows and thumb from 2-D to 3-D in response to the mouse pointer, and lets you create a dynamic interface.