|
|
|
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 |
vlGradientNone |
0 |
(default) Buttons are drawn without smooth shading. |
vlGradientHorizontal |
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. |
vlGradientHorizontalCenter |
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. |
vlGradientVertical |
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. |
vlGradientVerticalCenter |
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. |
|