SftButton/OCX 2.5

SftButton.BackColorEnd Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

Clr = object.BackColorEnd  As System.Drawing.ColorLanguage-specific information

VB

Clr = object.BackColorEnd  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information Clr = object.BackColorEnd;

VC++

OLE_COLOR Clr = object->BackColorEnd;
OLE_COLOR Clr = object->GetBackColorEnd();

C

HRESULT object->get_BackColorEnd(OLE_COLOR* Clr);

Delphi

Clr := object.BackColorEnd  : TColorLanguage-specific information;

Put

VB.NET

object.BackColorEnd = Clr  As System.Drawing.ColorLanguage-specific information

VB

object.BackColorEnd = Clr  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information object.BackColorEnd = Clr;

VC++

OLE_COLOR object->BackColorEnd = Clr;
void object->PutBackColorEnd(OLE_COLOR Clr);

C

HRESULT object->put_BackColorEnd(OLE_COLOR Clr);

Delphi

object.BackColorEnd := Clr  : TColorLanguage-specific information;

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.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com