web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / [Help] Minimize button...
Power Apps
Answered

[Help] Minimize buttons with Gallery Controls

(0) ShareShare
ReportReport
Posted on by 195

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!

Categories:
  • Verified answer
    YamiteKudasai Profile Picture
    195 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard