The ForeColor property is used to set or return the foreground color (normally the text color) of a control.
Attribute | Description |
---|---|
color | The color to set as foreground color of a control. Must be a valid HTML color |
The following example sets the foreground color of a button:
Set the text color of a Button control (with declaration and script)