web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Moving Slider With Button
Power Apps
Answered

Moving Slider With Button

(0) ShareShare
ReportReport
Posted on by 28

Hey,

 

I have a slider with 5 increments. (Min = 1, Max = 5). I know how to make objects go bold when the slider is in a certain position. I know how to hide objects when a slider is in a certain position.

 

How do I press a button/picture and it moves the slider?

 

When I press picture/button # 1 I want the slider to move into position # 1.

When I press picture/button # 2 I want the slider to move into position # 1.

 

Slider Name = Slider2

Button which is actually just a circle filled white Name = Circle1

 

Slider Move.PNG
Categories:
  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @DuncanEddy 

    Let's do an example together.  To move the slider to position 4 when a button is clicked do the following steps.

     

    #1  Create a new button and put this code in the OnSelect property

    Set(sliderPosition, 4);
    Set(sliderResest, true); Set(sliderResest, false); 

     

    #2 Put this code in the Default property of the slider

    sliderPosition

     

    #3  Then use this code in the Reset property of the slider.

    sliderReset

     

    Now when you click the button it will move the slider to position 4.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Verified answer
    DuncanEddy Profile Picture
    28 on at

    Worked perfectly! Thank You 🙂

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard