TerSetDefTextColor
Set default text foreground color.
boolean TerSetDefTextColor( ForeColor, repaint)
boolean TerSetDefTextColor( HtmlForeColor, repaint)
Color ForeColor; | new text foreground color. |
String HtmlForeColor; | specify the new text foreground color in the html format, such as "red", "#FF0000". |
boolean repaint; | true to repaint the screen after this operation. |
Description: The new text color is effective only for the current session. The new text color is not written out when the document is saved.
Please use the GetTerFields/SetTerFields functions to change the background color of the text window.
Return Value: This function returns true when successful..