TextField:setTextColor

From GiderosMobile
Revision as of 07:28, 24 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2011.6

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

Example

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