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 / 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
    155,279 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
    155,279 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

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,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard