EditBoxTextColor

Family: Input · One form

What it does

EditBoxTextColor writes a value: it sets rather than reads. It takes index (an integer), red (an integer), green (an integer) and blue (an integer), and returns nothing.

Syntax

EditBoxTextColor(index integer, red integer, green integer, blue integer)

Parameters

NameType
indexinteger
redinteger
greeninteger
blueinteger

Every form returns

nothing

Example · generated

EditBoxTextColor(1, 255, 128, 128)DO  Sync()LOOP

EditBoxTextColor is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.

95 commands in Input