VLButtonBar Reference

Read/Write Property ButtonGradientType

See Also See Also Applies To Applies To

Returns or sets the mode of the smooth shading of ButtonGradientColor of the button.

 

Syntax

object.ButtonGradientType[=value]

 

The ButtonGradientType 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 mode of the smooth shading of ButtonGradientColor of the button.

 

Settings

The settings for value are:

Constant Setting Description
ConstantvlGradientNone 0 (default) Buttons are drawn without smooth shading.
ConstantvlGradientHorizontal 1 Buttons are drawn with smooth shading starting with ButtonGradientColor at the left edge and fading into ButtonBackColor at the right edge of the button.
ConstantvlGradientHorizontalCenter 2 Buttons are drawn with smooth shading starting with ButtonGradientColor at the center and horizontally fading into ButtonBackColor at the left and right edge of the button.
ConstantvlGradientVertical 3 Buttons are drawn with smooth shading starting with ButtonGradientColor at the top edge and fading into ButtonBackColor at the bottom edge of the button.
ConstantvlGradientVerticalCenter 4 Buttons are drawn with smooth shading starting with ButtonGradientColor at the center and vertically fading into ButtonBackColor at the top and bottom edge of the button.