Copyright © 1998-2015 MultiMedia Soft

ShadowColor property

Previous pageReturn to chapter overviewNext page

Type

OLE_COLOR for Visual C++

long for Visual Basic

 

 

Syntax

object.ShadowColor [=long]

 

 

Remarks

The color used to render the shadow under the button when the ShadowMode property is not set to SHADOW_NONE (0).

If you leave this property to an undefined state (-1), the control calculates the optimal shadow color in relation to the current surface color.

This property can also be applied to set the color used to shadow the sunken effect on a custom shaped flat button.

3dabm_i00006b

For further details about colors change, see the How to change the button colors section.