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 Pages / State Color change bas...
Power Pages
Unanswered

State Color change based on screen - solved !

(0) ShareShare
ReportReport
Posted on by

To change the color state of any icon or component in power apps depending on which screen you are 

First go to the 'Fill' property 

Then use the following logic: 

If(App.ActiveScreen.Name= "Your_Screen_Name", RGBA(46, 255, 248, 1),RGBA(166, 171, 179, 1))

 

Here: 

RGBA(46, 255, 248, 1)  --> is your color is the result is yes 

RGBA(166, 171, 179, 1)  --> is your color if the result is no 

Categories:
I have the same question (0)

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 Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard