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 / retain fill colour of ...
Power Apps
Unanswered

retain fill colour of tab once selected?

(0) ShareShare
ReportReport
Posted on by 148

Have a form with 6 tabs that the tab (button in gallery) fill colour changes upon selection based on this formula for fill:   If(varTab=ThisItem.Tab,varColour1,varColour2)

 

But is it possible to retain a colour after a tab is selected? For example if default tab colour is red , once a tab is selected and user navigates to next tab, it gets set to green, to indicate to end user that tab has been viewed?

 

thanks

 

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    Hi @cheezy ,

    You could do this by setting a Variable on the OnSelect and basing the Fill on the Variable being true.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    Hi @cheezy ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • cheezy Profile Picture
    148 on at

    i am still struggling with this

    As mentioned have a form with 6 tabs that the tab (button in gallery) fill colour changes upon selection based on this formula for fill:   If(varTab=ThisItem.Tab,varColour1,varColour2). 

    So i can set a variable on the On Select -   Set(varSelected,true);  but how to meld into this formula for fill?

    If(varTab=ThisItem.Tab,varColour1,varColour2) to achieve the result i am after?

     

     

     

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard