Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter NineDialog Functions (continued)

ControlChangeColor Function

Overview

The ControlChangeColor function changes the text color of certain controls.

Syntax/Parameters

Syntax

int = ControlChangeColor ( int id, string color | dword color );

Parameters

id

An int that identifies the dialog control to disable.

color

Either a string containing a CSS style color or a dword containing an RGB color.

Return Value

Returns an int value as ERROR_NONE on success, ERROR_RANGE if id is an invalid control ID for the open dialog, or ERROR_INVALID_HANDLE if no dialog is open.

Remarks

Only static and edit controls accept text color change.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic