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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard