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 / Change Button Color wh...
Power Apps
Unanswered

Change Button Color when clicked or Selected

(0) ShareShare
ReportReport
Posted on by 38

In my canvas app I have buttons to indicate screens in my app... when the user selects a button I want the color of that button to change.. this will indicate which screen the user is at now.. How can I do this? 

Categories:
I have the same question (0)
  • AARON_C Profile Picture
    2,235 Most Valuable Professional on at

    Hi @S2_0452,

     

    On the Fill property of your button, you can use this formula:

     

     

    If(App.ActiveScreen = 'Screen name', RGBA(255, 0, 0, 1), RGBA(0, 255, 0, 1))

     

     

    Note: The 'screen name' should be the screen to which the button will navigate too.

     

    Please tick Accept as solution if the answer is useful.

    Thanks,

    @AARON_C 

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 1,045

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 592

Last 30 days Overall leaderboard