ShadowColor

<< Click to Display Table of Contents >>

 

ShadowColor

Color Specifies a fill color for this object's shadow. This color is used when the Shadow property is set to True. In scripts, use VBScript's RGB method to create a color to link to this property. Default value of this property is light gray (RGB(128, 128, 128)). Example:

Sub Button1_Click()
  ' Changes the background color of this button
  ' to light gray when clicking it
  ShadowColor = RGB(192, 192, 192)
End Sub

 

NOTE

This property is only effective when a Picture object is working with Metafiles (WMF or EMF).

Was this page useful?