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

[Help] Minimize buttons with Gallery Controls

Hello Power Apps Community, 

Good day!

I'm trying to minimize the controls used by using a gallery instead of 4 buttons with gallery i'll be able to used 1 button. However I'm having a problem. 

Scenario:  

As an example i have colMenuTabs with values [1, 2]. I have also a varshowspinner. 

 

If (
    varSelected = 1, 
    set(varshowspinner, true), 
    set(varshowspinner, false)
);

 

 

But what happened is when i click the second button the spinner started to show and I need to click the first button again to reset. 

My question is: What did I do wrong on this scenario? 

Thanks for your help in advance guys!

1 ACCEPTED SOLUTION

Accepted Solutions
YamiteKudasai
Helper IV
Helper IV

Oh I find the answer to my question: Don't set the varSelected on the gallery on select property, instead set the varSelected variable on the button OnSelect Property.

View solution in original post

1 REPLY 1
YamiteKudasai
Helper IV
Helper IV

Oh I find the answer to my question: Don't set the varSelected on the gallery on select property, instead set the varSelected variable on the button OnSelect Property.

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.

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 (21,073)