Copyright © 1998-2010 MultiMedia Soft

SurfaceColor.Color property

Previous pageReturn to chapter overviewNext page


OLE_COLOR for Visual C++

long for Visual Basic




object.SurfaceColor.Color [=long]




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.




See also

SurfaceColor object.

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

How to change the button colors section.