cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hockeyman9474
Level: Powered On

Change color to text in an if statement in a gallery

I have a gallery that shows 6 results (1-6). A variable is passed to this screen and that variable matches one of those results. I need to chnage the color of the text of the item of the gallery that matches that variable. Let's say the variable is 3 then the results should look like this:

 

1

2

3

4

5

6

 

I tested my if statement with a simple yes, no result successfully. The code I used is below, but I need to apply the color property and I don't know how.

 

If(Thisitem.result=DIST,"Yes", "No")

1 ACCEPTED SOLUTION

Accepted Solutions
Hockeyman9474
Level: Powered On

Re: Change color to text in an if statement in a gallery

nevermind figured it out

View solution in original post

1 REPLY 1
Hockeyman9474
Level: Powered On

Re: Change color to text in an if statement in a gallery

nevermind figured it out

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,943)