SftButton/OCX 2.5

SftButton.BackColorFocusEnd Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

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

VB

Clr = object.BackColorFocusEnd  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR Clr = object->BackColorFocusEnd;
OLE_COLOR Clr = object->GetBackColorFocusEnd();

C

HRESULT object->get_BackColorFocusEnd(OLE_COLOR* Clr);

Delphi

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

Put

VB.NET

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

VB

object.BackColorFocusEnd = Clr  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR object->BackColorFocusEnd = Clr;
void object->PutBackColorFocusEnd(OLE_COLOR Clr);

C

HRESULT object->put_BackColorFocusEnd(OLE_COLOR Clr);

Delphi

object.BackColorFocusEnd := 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 BackColorFocusStart). For information about color properties, please visit the applicable section "Using SftButton/OCX with ...".

Comments

The BackColorFocusEnd property defines the control's gradient fill background color when it has the input focus (combined with BackColorFocusStart).

This property has no effect if Windows themes are used.

The FillOrientation defines the gradient fill orientation. The BackColorFocusEnd 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