cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ericonline
Community Champion
Community Champion

Select function and Visibility

I've begun using the Select function and I think it rocks! I'm having one issue though. 

 

  • I'm keeping all my long Collect, Reset, Patch functions in OnSelect Properties of Buttons in an offscreen (hidden) menu
  • Then calling Select in the app to execute these functions

Unfortunately, when I execute the Select function on one of these Buttons, the hidden menu appears. Is there a way to Select a hidden button without it becoming visible? (hope this makes sense). 

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi @ericonline,

 

What is the formula of the Visible property of this hidden button? I simply set with below configuration:

Button1.Visible=false
Button1.OnSelect=ClearCollect(Collection1,List)
Button2.OnSelect=Select(Button1)

 

I cannot reproduce your issue. When I select Button2, ClearCollect function runs and Button1 remains invisible. 

 

If you have different configuration, please correct me.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-monli-msft

 

The Visible property of the hidden button is varDebugForms.

The Visible property of the hidden menu is varDebugMenu. 

 

 

When I execute Select(hiddenButton) as part of another control, the debug menu shows itself and the entire view of my app shifts left the width of the debug menu. 

 

I'd love to show you a clear video, but the app is confidential. Here is a blurred version. Hopefully it gets the point across. 

 

debugMenuJump-min.gif

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,364)