Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

ForeColorFocus Property, SftMask Object

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

Syntax

Get

VB.NETClr = object.ForeColorFocus As System.Drawing.Color
VBClr = object.ForeColorFocus As OLE_COLOR
C#.NETSystem.Drawing.Color Clr = object.ForeColorFocus;
VC++OLE_COLOR Clr = object->ForeColorFocus;
OLE_COLOR Clr = object->GetForeColorFocus();
CHRESULT object->get_ForeColorFocus(OLE_COLOR* Clr);

Put

VB.NETobject.ForeColorFocus = Clr As System.Drawing.Color
VBobject.ForeColorFocus = Clr As OLE_COLOR
C#.NETSystem.Drawing.Color object.ForeColorFocus = Clr;
VC++OLE_COLOR object->ForeColorFocus = Clr;
void object->PutForeColorFocus(OLE_COLOR Clr);
CHRESULT object->put_ForeColorFocus(OLE_COLOR Clr);

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.

See Also SftMask Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.