TextField:setTextColor

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page contains changes which are not marked for translation.


Available since: Gideros 2011.6
Class: TextField

Description

Sets the color of the text in a text field in hexadecimal format.

TextField:setTextColor(color)

Parameters

color: (number) color of the text in hexadecimal format.

Examples

textfield:setTextColor(0xff0000)	-- red
textfield:setTextColor(0x00ff00)	-- green
textfield:setTextColor(0x0000ff)	-- blue