|
|
|
SftMask.ForeColorInvalid Property |
Defines the control's default text color when its contents are invalid.
Syntax
VB.NET |
|||
VB |
Clr = object.ForeColorInvalid As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR Clr = object->ForeColorInvalid;
|
||
C |
HRESULT object->get_ForeColorInvalid(OLE_COLOR* Clr); |
||
Delphi |
|||
VB.NET |
|||
VB |
object.ForeColorInvalid = Clr As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR object->ForeColorInvalid = Clr;
|
||
C |
HRESULT object->put_ForeColorInvalid(OLE_COLOR Clr); |
||
Delphi |
object
A SftMask object.
Clr
Defines the control's default text color when its contents are invalid.
Comments
The ForeColorInvalid property defines the control's default text color when its contents are invalid (see Contents.Valid).
If the contents are valid, the ForeColor property defines the control's default text color.
If the control is disabled (see Enabled property), the ForeColorGrayed property defines the foreground color.
Text that is selected uses the SelectForeColor property instead. The captions foreground color is defined using the Caption.ForeColor property.