How to use checkbox in Sketchware to select between two options?

How to use checkbox in Sketchware to select between two options?

Here is a description of how checkbox can be used in Sketchware to select between male and female.

1. First, place two 'checkbox' widgets in your View field. Change their texts to 'Male' and 'Female'.

2. Complete building your View field.



3. In onCreate method set visible both checkbox1 and checkbox2.

4. On checkbox1 clicked setEnable checkbox2 false.


5. On checkbox2 clicked setEnable checkbox1 false.


6. On button click use if-else checkbox1/checkbox2 getchecked and write your desired logic.

Comments

  1. Great information to say the least. I really do appreciate everything so much from this great article.
    qr code generator

    ReplyDelete
  2. You are so cool! I don't think I've truly read through anything like that before. So wonderful to find someone with a few genuine thoughts on this topic. Seriously.. thank you for starting this up. This site is one thing that is required on the internet, someone with a little originality!
    Tech info

    ReplyDelete
  3. Interesting post! Thanks for sharing and I want more unique post. Keep doing...

    Java Training in Chennai

    Java Course in Chennai

    ReplyDelete

Post a Comment

Popular posts from this blog

Simple car racing android game in Sketchware

Creating a Drawing View in Sketchware

Enable Fullscreen for Youtube videos in WebView

How to enable upload from webview in Sketchware?

List of Calendar Format symbols valid in Sketchware