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. The default value of this property is light gray (RGB(128, 128, 128)). The next script contains an example of using this property.

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 works with Metafiles (WMF or EMF).

Was this page useful?