Home > Code Library > SmartNetButton > ShowShadow

Last Update 24 May 2001










ShowShadow Property

Returns or sets a value that determines whether or not the object will show a shadow when the mouse is over.


object.ShowShadow [= boolean]

The ShowShadow property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartNetButton object.
boolean A boolean expression that specifies whether or not the the object will show a shadow.

At design time, the default ShowShadow for the SmartNetButton is set to True.


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. You can also hide this shadow by setting property ShowShadow to false.


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