Home > Code Library > SmartNetButton > EdgeColor

Last Update 24 May 2001










EdgeColor Property

Returns or sets the color of the edge to be shown when the mouse is over the button.


object.EdgeColor [= color]

The EdgeColor 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 color of the edge 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 over the button, the control pops-up a 1-pixel width edge. The color of this edge can be changed with property EdgeColor.

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