Core2 checkbox set_checked doesn't work
-
Hello everyone,
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.

-
Hello @mwenghi
I can confirm that
set_checkeddoesn't work with UIFlow 1.7.1.1 firmware. I can change the text of a checkbox withset_text, but changing the state of the checkbox doesn't work.Thanks
Felix -
@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.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login