Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

SelectForeColor Property, SftMask Object

Defines the control's selected text color.

Syntax

Get

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

Put

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

object

A SftMask object.

Clr

Defines the control's selected text color.

Comments

The SelectForeColor property defines the control's selected text color.

If the control has the input focus, the SelectForeColorFocus property is used instead.

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

See Also SftMask Object | Object Hierarchy


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