HeaderPane
Main
Hide

SftButton/OCX 4.0 - ActiveX Button Control

Share Link
Print

BackColorHover Property, SftButton Object

Defines the control's background color when the mouse cursor hovers over the control.

Syntax

Get

VB.NETClr = object.BackColorHover As System.Drawing.Color
VBClr = object.BackColorHover As OLE_COLOR
C#.NETSystem.Drawing.Color Clr = object.BackColorHover;
VC++OLE_COLOR Clr = object->BackColorHover;
OLE_COLOR Clr = object->GetBackColorHover();
CHRESULT object->get_BackColorHover(OLE_COLOR* Clr);

Put

VB.NETobject.BackColorHover = Clr As System.Drawing.Color
VBobject.BackColorHover = Clr As OLE_COLOR
C#.NETSystem.Drawing.Color object.BackColorHover = Clr;
VC++OLE_COLOR object->BackColorHover = Clr;
void object->PutBackColorHover(OLE_COLOR Clr);
CHRESULT object->put_BackColorHover(OLE_COLOR Clr);

object

A SftButton object.

Clr

Defines the control's background color when the mouse cursor hovers over the control. For information about color properties, please visit the applicable section "Using SftButton/OCX with ...".

Comments

The BackColorHover property defines the control's background color when the mouse cursor hovers over the control.

This property has no effect if Windows themes are used.

If both BackColorHoverStart and BackColorHoverEnd define valid starting and ending colors, these take precedence and the BackColorHover property has no effect.

See Also SftButton Object | Object Hierarchy


Last Updated 08/23/2026 - (email)
© 2026 Softel vdm, Inc.