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 Platform Community / Forums / Power Apps / When a button is hidde...
Power Apps
Answered

When a button is hidden, fix the other buttons position

(0) ShareShare
ReportReport
Posted on by 68

Hello all,

I want to change the buttons position when a button is hidden. In my case I want to change inventory position when the stock is hidden. The stock button is hidden if the user doesn't have permission. Thank you in advance.

yllikrs_0-1671009406692.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    cha_cha Profile Picture
    4,932 Moderator on at

    On the X position of Inventory, you do like

     

     

    If(Stock.Visible, ____Position here if visible____ , ______position here if not visible)
    
    Example:
    
    If(Stock.Visible, 5, 20)

     

  • yllikrs Profile Picture
    68 on at

    Thank you verymuch

  • yllikrs Profile Picture
    68 on at

    yllikrs_0-1671011325121.png

    What if i do something like this? will it work.

    Since this is the code that i use for hiding the button

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 883

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 477

Last 30 days Overall leaderboard