Macro Language Reference > Macros > System > colour
  
colour
Description
System macro: defines the colors used by the PTC ALD system interface.
 
Example 224. Change interface colours using multiple colour macros
The code shown below contains several colour macros, the combined effect of which is to produce a 'white on blue' text display in the edit bar. Only the last colour macro contains the command to redraw the screen:
colour 29,blue,0:colour 30,w,0:colour 31,w,0:colour 99
,r,0:colour 100,r,0:colour 101,b,0:colour 102,g,0:colour 110
,r,0:colour 111,r,0:colour 112,r,1
Syntax
colour code:n colour:c redraw:n?
code
A numeric code for the part of the PTC ALD interface to which you want to assign a color.
colour
The color to be assigned to the part of the interface defined by code.
redraw
0
Do not redraw the screen after defining the color.
1
Redraw the screen after defining the color.
Additional Information
Page 2 of the diagnstc.3d file supplied with PTC ALD shows your current settings and is updated when you issue a colour macro.