HeaderPane
Main
Hide

SftButton/OCX 4.0 - ActiveX Button Control

Share Link
Print

BackColorEnd Property, SftButton Object

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

Syntax

Get

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

Put

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

object

A SftButton object.

Clr

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

Comments

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

This property has no effect if Windows themes are used.

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

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.