HeaderPane
Main
Hide

SftButton/OCX 4.0 - ActiveX Button Control

Share Link
Print

BackColorFocusStart Property, SftButton Object

Defines the control's gradient fill background color when it has the input focus (combined with BackColorFocusEnd).

Syntax

Get

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

Put

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

object

A SftButton object.

Clr

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

Comments

The BackColorFocusStart property defines the control's gradient fill background color when it has the input focus (combined with BackColorFocusEnd).

This property has no effect if Windows themes are used.

The FillOrientation defines the gradient fill orientation. The BackColorFocusEnd property is the ending color value (right or bottom).

If both BackColorFocusStart and BackColorFocusEnd define valid starting and ending colors, these take precedence and the BackColorFocus property has no effect. On display devices that do not support gradient fills or if fewer than 65K colors are available, the BackColorFocus property is used instead.

See Also SftButton Object | Object Hierarchy


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