Home > Code Library > SmartNetButton > ShowPushColor

Last Update 24 May 2001










ShowPushColor Property

Returns or sets a value that determines whether or not the button background color will change from BackColorPop to BackColorPush when the object is left-mouse clicked.


object.ShowPushColor [= boolean]

The ShowPushColor 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 background color will change to BackColorPush.

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


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.