Home > Code Library > SmartNetButton > ShadowColor

Last Update 24 May 2001










ShadowColor Property

Returns or sets the color of the Shadow to be shown when the mouse is over the button.


object.ShadowColor [= color]

The ShadowColor property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartNetButton object.
color A value or constant that determines the color of the Shadow as described in Settings.


Visual Basic uses the Microsoft Windows operating environment red-green-blue (RGB) color scheme. The settings for color are:

Setting Description
Normal RGB colors Colors specified by using the Color palette or by using the RGB or QBColor functions in code.
System default colors Colors specified by system color constants listed in the Visual Basic (VB) object library in the Object Browser. The Windows operating environment substitutes the user's choices as specified in the Control Panel settings.


When the mouse is over the button, the control simulates a shadow below the picture. The color of this Shadow can be changed with property ShadowColor.

Copyright © 2001, Andrés Pons (andres@vbsmart.com). All rights reserved.