Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

SelectForeColorFocus Property, SftMask Object

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

Syntax

Get

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

Put

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

object

A SftMask object.

Clr

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

Comments

The SelectForeColorFocus property defines the control's selected 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 SelectForeColorFocus property, the SelectForeColor property defines the control's foreground color for selected text.

If the control is disabled (see Enabled property), the ForeColorGrayed property is used instead.

If the control has the input focus, the SelectForeColor property defines the control's default foreground color.

See Also SftMask Object | Object Hierarchy


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