cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Future_Vision
Post Prodigy
Post Prodigy

How to manage showing/hiding multiple icons ?

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

 

 

 

 

2 REPLIES 2
RandyHayes
Super User III
Super User III

@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?

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
Future_Vision
Post Prodigy
Post Prodigy

@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.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,975)