cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fbxiii
Helper IV
Helper IV

Screen Tab controls

I have created a tabbed screen using an MVP blog I found in Powerapps pages here:  https://powerapps.microsoft.com/en-us/blog/design-tips-part-1-handling-tab-control-scenarios-in-powe...

 

I have created the tabs and it works but the example picture shows that the selected tab is a different colour to the other 2.

 

Can anyone help on how I would be able to get the Fill property of each Tab lable to change colour when it is selected?

1 ACCEPTED SOLUTION

Accepted Solutions
Sienna
Resident Rockstar
Resident Rockstar

Just click on that gallery where your tabs are and change TemplateFill to 

 

If(ThisItem.IsSelected,Color.Red,Color.Aqua)

 

or use instead of Color RGBA which would looks like this

 

If(ThisItem.IsSelected,RGBA(100,100,100,1),RGBA(50,50,50,1))

 

Obviously you have to change the color to match your needs

View solution in original post

2 REPLIES 2
Sienna
Resident Rockstar
Resident Rockstar

Just click on that gallery where your tabs are and change TemplateFill to 

 

If(ThisItem.IsSelected,Color.Red,Color.Aqua)

 

or use instead of Color RGBA which would looks like this

 

If(ThisItem.IsSelected,RGBA(100,100,100,1),RGBA(50,50,50,1))

 

Obviously you have to change the color to match your needs

Perfect!  Thanks 🙂

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (4,079)