Hi,
I've managed to create a dropdown menu that it's visible once the menu button is pressed, but it's visible just for a brief moment. How can I maintain it's visibility and disable it once the button is pressed a second time?
Solved! Go to Solution.
Hey,
you can use condition,
OnSelecet:
If(variable, Set(variable, false), Set(variable, true))
Hope this helps.
Hi,
Somehow after some change this is the result:
onSelect button: If(!DDVisible; Set(DDVisible; true); Set(DDVisible; false))
Visible dropdown: DDVisible
And it works perfectly. Thank you all for the support.
Can you screenshot the properties associated with your dropdown and the actions associated with your menu button? Then we will be able to advise you better.
Set the visible property of the dropdown control to a variable, for example DDVisible.
Set the On Select property of the menu button to Set(DDVisible, true).
When you want to hide the dropdown again, Set(DDVisible,false).
There's a way to hide and show the dropdown just by pressing the button? For example, press it to show and then press it again to hide.
Hey,
you can use condition,
OnSelecet:
If(variable, Set(variable, false), Set(variable, true))
Hope this helps.
Hi,
Somehow after some change this is the result:
onSelect button: If(!DDVisible; Set(DDVisible; true); Set(DDVisible; false))
Visible dropdown: DDVisible
And it works perfectly. Thank you all for the support.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
202 | |
187 | |
80 | |
50 | |
38 |
User | Count |
---|---|
304 | |
249 | |
123 | |
73 | |
55 |