cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mrocks22
Level: Powered On

Slider Stuff

Hi Community,

I'm trying to recreate the effect that the iphone x lock screen has using a slider, so when you pull up a vertical bar to a number eg. 100 the screen switches to a different screen, kinda like a navigate button.

 

Thanks,

M

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: Slider Stuff

Hi @Mrocks22 ,

Could you please share a screenshot about your app's configuration?

 

 

Based on the needs that you mentioned, I have made a test on my side, please take a try with the following workaround:12.JPG

Set the Default property of the Slider control to following:

0

Set the Max property of the Slider control to following:

200

Set the OnChange property of the Slider control to following:

If(Slider1.Value >= 100, Navigate(Screen2, ScreenTransition.None))

Within the Screen2, set the OnVisible property to following:

Reset(Slider1)

Please check the following GIF screenshot for more details:Test.gif

 

 

Best regards,

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

View solution in original post

4 REPLIES 4
Dual Super User
Dual Super User

Re: Slider Stuff

Hi @Mrocks22 

 

You can modify the OnChange property of your slider as:
 
If(Slider1.Value = 100, Navigate(BrowseGallery1))MicrosoftTeams-image (142).png

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

 

Highlighted
Community Support Team
Community Support Team

Re: Slider Stuff

Hi @Mrocks22 ,

Could you please share a screenshot about your app's configuration?

 

 

Based on the needs that you mentioned, I have made a test on my side, please take a try with the following workaround:12.JPG

Set the Default property of the Slider control to following:

0

Set the Max property of the Slider control to following:

200

Set the OnChange property of the Slider control to following:

If(Slider1.Value >= 100, Navigate(Screen2, ScreenTransition.None))

Within the Screen2, set the OnVisible property to following:

Reset(Slider1)

Please check the following GIF screenshot for more details:Test.gif

 

 

Best regards,

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

View solution in original post

Mrocks22
Level: Powered On

Re: Slider Stuff

Thanks this really helps a lot but if I had multiple sliders on slide 1 how would I get them to reset to default all at once? 

Mrocks22
Level: Powered On

Re: Slider Stuff

I'm looking for something like 

 

OnVisable

Reset(Slider1), Reset(Slider2),Reset(Slider3)

 

What is the correct syntax for this chain of commands I guess?

 

Thanks,

M

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,416)