SftButton/OCX 2.5

SftButton.BackColorStart Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

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

VB

Clr = object.BackColorStart  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR Clr = object->BackColorStart;
OLE_COLOR Clr = object->GetBackColorStart();

C

HRESULT object->get_BackColorStart(OLE_COLOR* Clr);

Delphi

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

Put

VB.NET

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

VB

object.BackColorStart = Clr  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR object->BackColorStart = Clr;
void object->PutBackColorStart(OLE_COLOR Clr);

C

HRESULT object->put_BackColorStart(OLE_COLOR Clr);

Delphi

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

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.


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