HeaderPane
Main
Hide

SftButton/OCX 4.0 - ActiveX Button Control

Share Link
Print

BackColorStart Property, SftButton Object

Defines the control's gradient fill background color (combined with BackColorEnd).

Syntax

Get

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

Put

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

object

A SftButton object.

Clr

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

Comments

The BackColorStart property defines the control's gradient fill background color (combined with BackColorEnd).

This property has no effect if Windows themes are used.

The FillOrientation defines the gradient fill orientation. The BackColorStart property is the starting color value (left or top).

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

See Also SftButton Object | Object Hierarchy


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