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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (3,643)