How do I toggle three objects , showing two at a time with a boolean?

Thulani shared this question 5 years ago
Answered

Suppose I have three lines l,m,n and two checkboxes using boolean a and b. I want to hide say l and m when a unchecked and hide l and n when checkbox b unchecked but a checked. Both checked will show all objects, lines.

Best Answer
photo

If I get it right

- l is shonw if a and b are checked (condition to type a && b )

- m is shown i a is checked (condition to type a )

- n is shown if b is checked (condition to type b )

I think this works in the file added

chris

Comments (1)

photo
1

If I get it right

- l is shonw if a and b are checked (condition to type a && b )

- m is shown i a is checked (condition to type a )

- n is shown if b is checked (condition to type b )

I think this works in the file added

chris

© 2023 International GeoGebra Institute