Copyright © 1998-2010 MultiMedia Soft

SurfaceColor.GradientFactor property

Previous pageReturn to chapter overviewNext page

Type

OLE_COLOR for Visual C++

long for Visual Basic

 

 

Syntax

object.SurfaceColor.GradientFactor [=long]

 

 

Remarks

The factor used to calculate the 3D gradient applied to the color.

The value can be in the range from 1 to 6: the higher is the value the darker the button surface will appear.

The following is a set of identical buttons whose only difference is the GradientFactor property value that is displayed over the button surface.

3dabm_i000065 3dabm_i000066 3dabm_i000063

3dabm_i000067 3dabm_i000068 3dabm_i000069

 

 

See also

SurfaceColor object.

ColorSurfaceNormal, ColorSurfaceMO, ColorSurfaceInternal, ColorSurfaceFocus, ColorSurfaceDisabled, ColorSurfacePressed properties.

How to change the button colors section.