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. Thank you for excellent article.Great information for new guy like antimalware service executable

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

    ReplyDelete
  3. 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
  4. Excellent blog thanks for sharing the valuable information..it becomes easy to read and easily understand the information.
    Useful article which was very helpful. also interesting and contains good information.
    to know about python training course , use the below link.

    Python Training in chennai

    Python Course in chennai




    ReplyDelete
  5. 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

Enable Fullscreen for Youtube videos in WebView

How to enable upload from webview in Sketchware?

A Flash Light App in Sketchware

List of Calendar Format symbols valid in Sketchware