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
Solved! Go to Solution.
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:
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:
Best regards,
Hi @Mrocks22
If(Slider1.Value = 100, Navigate(BrowseGallery1))
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!
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:
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:
Best regards,
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?
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
User | Count |
---|---|
132 | |
132 | |
78 | |
75 | |
71 |
User | Count |
---|---|
210 | |
199 | |
64 | |
63 | |
53 |