Notifications
Announcements
I want to change the text colour to grey for the button which is selected. I am using a gallery control with colTabs which each tab has an ID to switch to the appropriate page. I want to signal to the user when they're are on a different page by highlighting the in a different colour. Which I have done, but the text is invisible as it matches the background colour. I'm not to familiar with conditions, whether an Update Context would work or an If statement
I use variables.
1. Where you want to trigger the color change(with your RGBA color of choice) set a variable
Set(varButtonColor,RGBA(168, 0, 0, 1))
2. On the Fill property of the Button enter your variable name
--------------------------------------------------Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.
Subscribe: https://www.youtube.com/channel/UCFpvUlpx84FuIPOdInGKMTwTwitter: https://twitter.com/assist_365
RegardsDarren Lutchner - 365 Assist
Thanks for the quick reply. But can you show me how to do it form start to finish that is. How to have a button gallery to switch between three tabs with buttons. The tabs switch when click but still indicate that your on a specific page, by the colouring. I want the effect to still work like a buttons, but the selected tab will have a different colour and font colour to the the unselected buttons (tabs). And regarding the unselected tabs they should be a predefined colour and font colour then switch to the different colour when selected.
If you are using the Button inside the Gallery, then you can probably use If(ThisItem.IsSelected, truecolorvalue, falsecolorvalue) for the Color property of the Button.
See the attached screenshot.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268