Hello All.
I have created screen with multiple controls in canvas app. Please refer below screenshot.
Now, I need to change color of all the controls from orange to blue.
So, I need to change the color from each controls property.
Can anyone suggests me how to change all controls color without changes in each controls property?
Thanks
Hi @Deep_Ponkiya ,
You need to change all the properties the first time anyway, so set a Variable at App OnStart
Set(
gblColor,
Blue
)
or whatever Colour you want and then set the colour of everything to gblColor. You can also have variations of this using ColorFade() based on the initial variable (or a second colour variable). Then if you want to change it again, all you have to do is change the Variable/s.
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
Also, once you've set your variable, you can ctrl+click on several controls and change their fill or color values simultaneously.
This only works for controls inside the same container.
I have tried as you have suggested.
But it is not working in my app
Please check below Attachments.
.
Actually for Blue you need
Set(
gblColor,
RGBA(0,0,255,1)
)
and yes, if you have two controls in the same container (card, gallery item or uncontained), you can select them and do them together.
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
Hi @Deep_Ponkiya ,
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
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
184 | |
51 | |
47 | |
32 | |
32 |
User | Count |
---|---|
264 | |
91 | |
78 | |
68 | |
67 |