SftMask/OCX 6.5

SftMask.ForeColorFocus Property

Softel vdm, Inc.

Defines the control's default text color when it has the input focus.

Syntax       

Get

VB.NET

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

VB

Clr = object.ForeColorFocus  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR Clr = object->ForeColorFocus;
OLE_COLOR Clr = object->GetForeColorFocus();

C

HRESULT object->get_ForeColorFocus(OLE_COLOR* Clr);

Delphi

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

Put

VB.NET

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

VB

object.ForeColorFocus = Clr  As OLE_COLOR

C#.NET

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

VC++

OLE_COLOR object->ForeColorFocus = Clr;
void object->PutForeColorFocus(OLE_COLOR Clr);

C

HRESULT object->put_ForeColorFocus(OLE_COLOR Clr);

Delphi

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

object

A SftMask object.

Clr

Defines the control's default text color when it has the input focus.

Comments

The ForeColorFocus property defines the control's default text color when it has the input focus.

If the control does not have the input focus or if no color has been defined for the ForeColorFocus property, the ForeColor property defines the control's default foreground color.

Text that is selected uses the SelectForeColorFocus property instead. The caption’s foreground color is defined using the Caption.ForeColor property.


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