Copyright © 1998-2015 MultiMedia Soft

SurfaceColor.Color property

Previous pageReturn to chapter overviewNext page

Type

OLE_COLOR for Visual C++

long for Visual Basic

 

 

Syntax

object.SurfaceColor.Color [=long]

 

 

Remarks

The RGB color used for calculating the gradient 3D rendering.

In the sample below you can see on the left a button with the default gray value RGB (192, 192, 192) applied and, on the right, the same button with a Cyan value RGB (0, 255, 255) applied.

3dabm_i00005c

 

 

See also

SurfaceColor object.

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

How to change the button colors section.