|
|
|
SftButton.ForeColorPressed Property |
Defines the control's text color when pressed.
Syntax
VB.NET |
|||
VB |
Clr = object.ForeColorPressed As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR Clr = object->ForeColorPressed;
|
||
C |
HRESULT object->get_ForeColorPressed(OLE_COLOR* Clr); |
||
Delphi |
|||
VB.NET |
|||
VB |
object.ForeColorPressed = Clr As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR object->ForeColorPressed = Clr;
|
||
C |
HRESULT object->put_ForeColorPressed(OLE_COLOR Clr); |
||
Delphi |
object
A SftButton object.
Clr
Defines the control's text color when pressed. For information about color properties, please visit the applicable section "Using SftButton/OCX with ...".
Comments
The ForeColorPressed property defines the control's text color when pressed.
If Windows themes are used, the ForeColorPressed property has no effect, unless UseThemes is set to 2 - Yes (Exclude Text).
The defined color is used to display the text defined using the Text property. If the button is released, the color ForeColor is used instead. If the control is disabled (see Enabled property), the foreground color defined using the ForeColorGrayed property is used instead.