Upvote 3

Hide/Show Panel based on the hidden property of dynamic panel

Answered Victor Conesa 9 years ago

I'm simulating a menu (dynamic panel) on an Android tablet that opens up when the settings icon is clicked. I would like to test the condition if the panel is visible/active and then hide it or not, so that the same icon will make the menu disappear when clicked if the menu is already visible. Perhaps there's a standard way to do this within a tablet application that I'm not aware of.

Best Answer
photo

Here's a prototype that does this as well.

Replies (3)
photo
1

Hi Miguel,


If you have the panel hidden (the "Hide component" option in the Properties panel) and create an OnToggle event with a show action that shows the panel you will achieve the behaviour you are looking for.


Best,


Marc

photo
1

Thanks. Got it!

photo
1

Here's a prototype that does this as well.

Leave a Comment
 
Attach a file