Notifications
Announcements
Hello,
I want to use two buttons or shape for select and should be change the color when pressed that button.
How can I do this? I couldn't this with button's properties.
Thanks a lot!
@ernu Use Set() to define is it onselect to change color
Hi @ernu ,
You can set the border color, color and fill properties of a button in pressed state using the below properties:
HI @ernu ,
If you would like to change the button's background color (fill) if user clicks on the button then you can add below formula in Fill property of the button - If(varBtn1Selected, Red, White) and the Color property to If(varBtn1Selected, White, Black)In button's OnSelect property set this variable to true using either UpdateContext or Set function based on the scope - Set(varBtn1Selected, true)
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