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 Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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