Home > Code Library > SmartNetButton > CaptionBackColor

Last Update 24 May 2001










CaptionBackColor Property

Returns or sets the caption area background color.


object.CaptionBackColor [= color]

The CaptionBackColor 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 caption area background color 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.


You can set a background color for the caption area. This color is only shown when the mouse isn't over the button. You can also set whether or not this color should be smoothed by using property ShowCaptionSmooth.


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