Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

How to manage showing/hiding multiple icons ?

(0) ShareShare
ReportReport
Posted on by 634

Here is what I have that works in isolation but not across the app. You'll see why

 

  1. I have a help/info icon with an OnSelect property of Set(glbShowHelp, !glbShowHelp) (image A1)
  2. This help/info icon also has a Visible property of !glbShowHelp. When clicked it becomes hidden.
  3. I have a Help Panel that changes its X value when glbShowHelp = true  (image A2) 
  4. The Help Panel's has a custom property called OnClose() which is assigned to the OnSelect of the Help Panel's close/cancel icon. I've set this property to Set(glbShowHelp, !glbShowHelp) in the app. When clicked it reverts glbShowHelp back to false hiding the Help Panel and revealing the help/info icon (image B2)
  5. I have a second icon for close/cancel that is the same size as the help/info icon with the same X and Y. It's OnSelect property is also set to Set(glbShowHelp, !glbShowHelp)
  6. This close/cancel icon has a Visible property of glbShowHelp  which is the opposite of the help/info icon creating a toggle effect. Clicking it also hide the Help Panel
  7. PROBLEM: There is more than one field in this form. Toggling a simple variable changes all of the help/info and close/cancel icons. What I need to be able to do is add some logic that limits the toggling to only the icon pair of a specific control. I'm thinking that since each pair of icons lives inside of a datacard that I can leverage the datacard to control this toggling. I'm just not positive how best to do this. Suggestions?

 

A1.    Future_Vision_0-1627593296181.png       

A2.  Future_Vision_2-1627593374315.png

 

 

B1.    Future_Vision_1-1627593329989.png           

B2.   Future_Vision_3-1627593419976.png

 

 

 

 

Categories:
  • Future_Vision Profile Picture
    634 on at
    Re: How to manage showing/hiding multiple icons ?

    @RandyHayes 

    I had put it aside since it is not a critical part of the application but ultimately one I would like to get working.

  • RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on at
    Re: How to manage showing/hiding multiple icons ?

    @Future_Vision 

    Was trying to go through some of my un-responded posts (still trying to catch up) and it lead me to this one...

    Are you still having issues with the topic in your post?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,587 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard