I am creating an assessment form for our preschool.
I have cells for each letter of the alphabet, numbers 1-20, Sounds, and several other areas.
They would like to be able to just click the field and have it highlight to show that the child completed the request. Click and highlights green, click again and highlight is off, click on.....
Copy link to clipboard
I have no experiance with Java. I would need assistance with that. I was thinking that what ever has the least amount of steps would be best. I can work with whatever field type would be best.
Can you give a more complete description of what you mean by "highlight", considering all of the things that I mentioned you can control?
The scripting will be fairly simple, so you will be able to pick it up easily from some sample scripts we can provide.
They wanted it to look like the field was highlighted with a transparent color
You can't normally set a field color (border, fill, text) to have any transparency, though it is possible to include transparency with a button icon, but this won't be the easiest approach. Can you think of an acceptable alternative to using transparency, such as using a background or border color?
I would link a background color would work perfectly
You could use the following for the Mouse Up script of a button to toggle the background color of the button between white and green:
// Mouse Up script for button
event.target.fillColor = color.equal(event.target.fillColor, color.white) ? color.green : color.white;
Thank you so very much. Sound like a plan. I'll try that today!
That worked perfectly! Thank you so much for your help