Difference between revisions of "TextField:setTextColor"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/TextField|TextField]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />

Revision as of 10:28, 24 August 2018

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

Example

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