Home > Code Library > SmartNetButton > BackColorPush

Last Update 24 May 2001










BackColorPush Property

Returns or sets the background color to be shown when the mouse is clicked over the button.


object.BackColorPush [= color]

The BackColorPush 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 background color of an object 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 clicked over the button the whole background color changes to BackColorPush.

You can set whether or not the backcolor will change from BackColorPop to BackColorPush by modifying property ShowPushColor.


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