HeaderPane
Main
Hide

SftButton/OCX 4.0 - ActiveX Button Control

Share Link
Print

BackColorFocus Property, SftButton Object

Defines the control's background color when it has the input focus.

Syntax

Get

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

Put

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

object

A SftButton object.

Clr

Defines the control's background color when it has the input focus. For information about color properties, please visit the applicable section "Using SftButton/OCX with ...".

Comments

The BackColorFocus property defines the control's background color when it has the input focus.

This property has no effect if Windows themes are used.

If both BackColorFocusStart and BackColorFocusEnd define valid starting and ending colors, these take precedence and the BackColorFocus property has no effect.

See Also SftButton Object | Object Hierarchy


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