Core2 checkbox set_checked doesn't work
mwenghi last edited by
I'am using UiFlow Beta V1.7.1 with Core2 (v1.7.1-core2 firmware). The block Set checkbox checked seems doesn't really work after running on the device, checkbox remain unchecked.
When I use set_checked for toggling two checkboxes, it seems to work only sometimes.
felmue last edited by
I can confirm that
set_checkeddoesn't work with UIFlow 126.96.36.199 firmware. I can change the text of a checkbox with
set_text, but changing the state of the checkbox doesn't work.
veryalien last edited by
@mwenghi I've worked out that set_checked does actually work. It changes the internal state of the checkbox from unchecked to checked, but it's not changing the visible state of the checkbox on the screen, so it doesn't appear to do anything!
If you add a set_checked_color call (in blockly it's the block set selectedColor) after your set_checked it will then show the relevant checkbox as checked in your desired color.