web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

Component Button

(1) ShareShare
ReportReport
Posted on by 28

I have two components, a header that has the hamburger menu icon and a menu screen (to be display once the hamburger menu is clicked). I made these components so they could be reused. I'm having a hard time getting the hamburger icon to make the menu component visible onSelect. Has anyone had any luck with a similar scenario.

Categories:
  • yurigagari Profile Picture
    13 on at

    Dear Friend,

     

    Add the below formular to the on select property of the hambuger menu icon

     

    If(buttonpresscount = 1, Set(buttonpresscount, 0), buttonpresscount = 0,Set(buttonpresscount, 1))

     

    and

     

    For the component you made, In that add the below formular to visible property of it.

     

    If(buttonpresscount = 1 , true ,false)

  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    @satkdev 

    If you're not doing so, you might consider using the creator kit. This includes a hamburger component and is fully documented with a sample app. You might find this easier compared to building your own component.

    https://learn.microsoft.com/en-us/power-platform/guidance/creator-kit/overview

     

  • satkdev Profile Picture
    28 on at

    When I follow these steps I get an error under buttonpresscount when the formula is placed in the component saying "buttonpresscount isn't a valid name". 

  • satkdev Profile Picture
    28 on at

    First picture is my header component, those slide tabs lead to other pages, and the ideally the hamburger menu will open up a popup setting component (shown in picture 2), the third picture shows what the end result will be. Upon pressing the hamburger menu that popup list will show up and upon pressing the hamburger menu again or any empty space, the list will then go away. 

     

    Header tab.png

    settingscomponent.png

    Endresult.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard