How do you change a textField 'background fill' to NONE at runtime

Avatar

Avatar
Validate 1
Level 1
XIIIX-inTVbY
Level 1

Like

1 like

Total Posts

17 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
XIIIX-inTVbY
Level 1

Like

1 like

Total Posts

17 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
XIIIX-inTVbY
Level 1

07-09-2015

> this seemingly simple problem has been perplexing me forever..

I understand how to change the txtField.fillColor to any value but NONE / no fill

to further illustrate:

BLACK IS: txtField.fillColor = "0,0,0"

WHITE IS: txtField.fillColor = "255,255,255"

but what is NONE or NO FILL?

is there a different method/scripting property used to 'remove' fillColor??

i'm baffled - please help!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
MVP
Magus069
MVP

Likes

143 likes

Total Posts

1,078 posts

Correct reply

155 solutions
Top badges earned
Springboard
Validate 1
Ignite 3
Ignite 1
Establish
View profile

Avatar
Springboard
MVP
Magus069
MVP

Likes

143 likes

Total Posts

1,078 posts

Correct reply

155 solutions
Top badges earned
Springboard
Validate 1
Ignite 3
Ignite 1
Establish
View profile
Magus069
MVP

08-09-2015

Hi there,

fillColor is a quick access to its property, the real property hides in the border.fill

to hide the fillColor you need to access border.fill with the following

to remove the borders as well, you need to use this line

if you want to show back the fill, use the value visible and same thing for the borders

Hope this help!

Answers (0)