SftButton/OCX 2.5

SftButton.BackColorFocusStart Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

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

VB

Clr = object.BackColorFocusStart  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR Clr = object->BackColorFocusStart;
OLE_COLOR Clr = object->GetBackColorFocusStart();

C

HRESULT object->get_BackColorFocusStart(OLE_COLOR* Clr);

Delphi

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

Put

VB.NET

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

VB

object.BackColorFocusStart = Clr  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR object->BackColorFocusStart = Clr;
void object->PutBackColorFocusStart(OLE_COLOR Clr);

C

HRESULT object->put_BackColorFocusStart(OLE_COLOR Clr);

Delphi

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

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 BackColorFocusStart 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.


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