|
|
|
SftMask.ForeColorFocus Property |
Defines the control's default text color when it has the input focus.
Syntax
VB.NET |
|||
VB |
Clr = object.ForeColorFocus As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR Clr = object->ForeColorFocus;
|
||
C |
HRESULT object->get_ForeColorFocus(OLE_COLOR* Clr); |
||
Delphi |
|||
VB.NET |
|||
VB |
object.ForeColorFocus = Clr As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR object->ForeColorFocus = Clr;
|
||
C |
HRESULT object->put_ForeColorFocus(OLE_COLOR Clr); |
||
Delphi |
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 captions foreground color is defined using the Caption.ForeColor property.