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

Fill border change color

NY2CA
Level 3
Level 3

This should be simple...I'm trying to show a border around the field that is entered into and have the border disappear after the cursor moves to the next box.

1 Reply
radzmar
Level 10
Level 10

Hi,

you'll need two scripts.

This one in the enter event of the field:


this.border.edge.color.value = "233,0,0";


this.border.edge.thickness = ".5mm"


And this one in the exit event.


this.border.edge.color.value = "0,0,0";


this.border.edge.thickness = "0mm"


Hope this helps!