Table of Contents

TextField:setTextColor

Available since version: Gideros 2011.6

Description:

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

Syntax:

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