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:
  • 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

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 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard