SftButton/OCX 2.5

SftButton.BackColorHover Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

Clr = object.BackColorHover  As System.Drawing.ColorLanguage-specific information

VB

Clr = object.BackColorHover  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information Clr = object.BackColorHover;

VC++

OLE_COLOR Clr = object->BackColorHover;
OLE_COLOR Clr = object->GetBackColorHover();

C

HRESULT object->get_BackColorHover(OLE_COLOR* Clr);

Delphi

Clr := object.BackColorHover  : TColorLanguage-specific information;

Put

VB.NET

object.BackColorHover = Clr  As System.Drawing.ColorLanguage-specific information

VB

object.BackColorHover = Clr  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information object.BackColorHover = Clr;

VC++

OLE_COLOR object->BackColorHover = Clr;
void object->PutBackColorHover(OLE_COLOR Clr);

C

HRESULT object->put_BackColorHover(OLE_COLOR Clr);

Delphi

object.BackColorHover := Clr  : TColorLanguage-specific information;

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.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com