App Inventor: How to Use Logic Commands

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,070
Loading...
Alert icon
Sign in or sign up now!
Alert icon
  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (TheTutSpot)

  • Very clear article on using the checkbox logic, thank you. Is it possible to use something like a case statement for checking multiple checkboxes? ie, Case checkbox(i)checked then do something

    ?

    I don't see a way to play a sound for each checkbox I check when there's more than 2 boxes. Without having umpteen nested if then clauses anyhow.

    many thanks

  • @oo0Spyder0oo Yes, each checkbox has a different name, so follow what I did for the if test, but instead of setting the image visibility to true, have it play a sound. Then, just call that function for each and every checkbox changed event, and they should play independently

  • Thank you very much for taking the time to upload, you were perfect ( informative and direct )

  • @Equipois3 You're welcome

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • OK, I hate to sound nit-picky, but since this video is clearly for beginners I need to point a few things out. It should be noted that the use of procedures here was totally for demonstration purposes and were unnecessary. This could have all been done in a very simple if/then/else statement directly within the checkbox "do". Also, since "checkbox1.checked" returns true or false it can be tested directly. Screenshot of the simplified blocks-> h t t p://b i t.l y/qHQuY8

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more