SelectForeColorFocus Property, SftMask Object
Defines the control's selected text color when it has the input focus.
Syntax
Get
| VB.NET | Clr = object.SelectForeColorFocus As System.Drawing.Color |
| VB | Clr = object.SelectForeColorFocus As OLE_COLOR |
| C#.NET | System.Drawing.Color Clr = object.SelectForeColorFocus; |
| VC++ | OLE_COLOR Clr = object->SelectForeColorFocus; OLE_COLOR Clr = object->GetSelectForeColorFocus(); |
| C | HRESULT object->get_SelectForeColorFocus(OLE_COLOR* Clr); |
Put
| VB.NET | object.SelectForeColorFocus = Clr As System.Drawing.Color |
| VB | object.SelectForeColorFocus = Clr As OLE_COLOR |
| C#.NET | System.Drawing.Color object.SelectForeColorFocus = Clr; |
| VC++ | OLE_COLOR object->SelectForeColorFocus = Clr; void object->PutSelectForeColorFocus(OLE_COLOR Clr); |
| C | HRESULT 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