Visual Basic: Windows Controls

Visual Studio 6.0

Style Property (Toolbar Control)

See Also    Example    Applies To

Returns or sets a value that determines the appearance of the control.

Syntax

object.Style [= integer]

The Style 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 that determines the appearance of the control, as shown in Settings.

Settings

The settings for integer are:

Constant Value Description
tbrStandard 0 (Default) Standard toolbar.
tbrTransparent 1 The buttons and the toolbar are transparent, button text appears under button bitmaps, and hot tracking is turned on.
tbrRight 2 Similar to tbrTransparent style, except that the button text appears to the right of the image, if any.

Show: