Skip to content
Discussion options

You must be logged in to vote

We still don't have builtin radio button.

We have an example that implement them:

RadioButton := TouchArea {

Used in
r1 := RadioButton { text: "First"; clicked => { unsel(); r1.checked = true; } }
r2 := RadioButton { text: "Second"; clicked => { unsel(); r2.checked = true; } }
r3 := RadioButton { text: "Third"; clicked => { unsel(); r3.checked = true; } }

and we manually reset them on click with the function
function unsel() { r1.checked = false; r2.checke…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@codecat
Comment options

Answer selected by ravenclaw900
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants