Copyright © 1998-2010 MultiMedia Soft

SurfaceColor.GradientType property

Previous pageReturn to chapter overviewNext page

Type

long for Visual C++

enumGradientType for Visual Basic

 

 

Syntax

object.SurfaceColor.GradientType [=enumGradientType]

 

 

Remarks

The type of gradient algorithm used for 3D rendering the button surface. Note that the point of maximum light exposures depends upon the value of the LightDirection property.

Supported values are the following:

Mnemonic constant

Value

Meaning

COLOR_GRADIENT_CLASSIC

0

A circular gradient algorithm.

3dabm_i00005d

COLOR_GRADIENT_LINEAR

1

A linear gradient algorithm

3dabm_i000060

 

 

See also

SurfaceColor object.

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

How to change the button colors section.