Changing background color of Textinput: using setStyle() method.

By default the background color of the Textinput is white and if u wanted to change it u can use the method like setStyle() with the Textinput refernce.

<Style>

.textinputStyle

{

textinput.setStyle(“backgroundColor”,”#00FF00″);

}

</Style>

include this style in textinput control, here textinput is the reference of Textinput

About these ads

One Response to Changing background color of Textinput: using setStyle() method.

  1. kosiara says:

    thanks :) helped me much :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: