OCG response to other OCGs states #2523
-
Hi 👋 I am trying to set some interactions among different OCGs, something like a "radiobutton" but with variation: check ocg1 and ocg2 when ocg3 is checked in the ui Thank you for your help ! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I can add more concrete examples: The first 4 checkbox will control the other ones
|
Beta Was this translation helpful? Give feedback.
-
This is correct - unfortunately. You can of course make your own checkboxes using |
Beta Was this translation helpful? Give feedback.
-
Thank you Jorj, I was not aware of the |
Beta Was this translation helpful? Give feedback.
This is correct - unfortunately. You can of course make your own checkboxes using
page.add_widget()
with appropriate logic in your script. You have to provide code that translates the checkbox widget value to the rightve
syntax indoc.set_ocmd(ve=[...])
... and vice versa.