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
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.
@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
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
kvblakely 6 months ago
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 7 months ago
@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
TheTutSpot 7 months ago
Thank you very much for taking the time to upload, you were perfect ( informative and direct )
Equipois3 9 months ago
@Equipois3 You're welcome
TheTutSpot 9 months ago