SCRColour()
Sets the text colour of a field.
Syntax
SCRColour(<cField>, <cColour>)
Arguments
<cField> --> The name of the field to change the colour of.
<cColour> --> the colour to change the field to. This is a string value. The recognised values are:
BLACK
BLUE
CYAN
DARKRED
DARKGREEN
DARKYELLOW
DARKBLUE
DARKMAGENTA
DARKAQUA
DARKGREY
GREEN
GREY
MAGENTA
RED
WHITE
YELLOW
Returns
A Nil value.
Description
Use this function to dynamically change the text colour of a field. The colour remains changed until the user closes the screen or the colour is changed by another script command.
Examples
SCRColour("Name", "Red")
![]() |