SetColour()

Syntax:

SetColour( Colour )

Parameters:

Colour – the new colour for the text in the specified Text object. Colour must be a positive integer indicating a valid RGB value or a variable containing a valid RGB value. This parameter is optional and the default is 0 (i.e. black).

Note:
The RGB value can be calculated using the RGB function. Alternatively, you can enter the red, green and blue parameters instead of the parameter Colour – see example.

Remarks:

This function will change the colour of the specified Text object to the RGB value specified in the Colour parameter.

image\Script_Button.jpgExamples