HeaderPane
Main
Hide
Share Link
Print

BackColorFocus Property, SftButton Object

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

Syntax

Get

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

Put

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

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 11/03/2026 - (email)
© 2026 Softel vdm, Inc.