HeaderPane
Main
Hide
Share Link
Print

SelectForeColorFocus Property, SftMask Object

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

Syntax

Get

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

Put

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

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 11/03/2026 - (email)
© 2026 Softel vdm, Inc.