VLButtonBar Reference

Read/Write Property SelectedButtonAppearance

See Also See Also Applies To Applies To

Returns or sets appearance of the selected button.

 

Syntax

object.SelectedButtonAppearance[=value]

 

The SelectedButtonAppearance property syntax has these parts:

Part Description
Object An object expression that evaluates to the objects in Applies to list.
Value An integer specifying the appearance of the selected button, as described in Settings.

 

Settings

The settings for value are:

Constant Setting Description
Constant vlFlat 0 Selected button is drawn in flat style without border.
Constant vlFlatWithBorder 1 Selected button is drawn in flat style with border.
Constant vlClassic3DRaised 2 Selected button is drawn in classical double lined raised 3D style.
Constant vlModern3DRaised 3 Selected button is drawn in modern single lined raised 3D style.
Constant vlClassic3DSunken 4 (default) Selected button is drawn in classical double lined sunken 3D style.
Constant vlModern3DSunken 5 Selected button is drawn in modern single lined sunken 3D style.
Constant vlRoundFlat 6 Selected button is drawn in flat style with rounded rectangular border.
Constant vlRound3dRaised 7 Selected button is drawn in modern single lined raised 3D style with rounded rectangular border.
Constant vlRound3dSunken 8 Selected button is drawn in modern single lined sunken 3D style with rounded rectangular border.

 

Remark

If you do not want Selected button to appear distinct from the rest, you need to set same value for SelectedButtonAppearance and ButtonAppearance properties.