cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

dropdown menu button

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?

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

Hey,

you can use condition,

 

OnSelecet:

 

If(variable, Set(variable, false), Set(variable, true))

 

Hope this helps.

View solution in original post

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.

View solution in original post

6 REPLIES 6
Super User
Super User

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.

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

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).

c1.png

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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.

View solution in original post

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.

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (8,064)