Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

XIIIX-inTVbY
Level 2
Level 2

> 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!

1 Accepted Solution
Magus069
Correct answer by
Level 10
Level 10

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!

View solution in original post

1 Reply
Magus069
Correct answer by
Level 10
Level 10

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!

View solution in original post