Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6806509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:43:10+00:00 2026-05-26T19:43:10+00:00

I have an odd requirement. Our data has ticks, which are time-related. Each tick

  • 0

I have an odd requirement. Our data has ticks, which are time-related. Each tick may have from 0 to 50 data points in them. I want the ticks laid out on the scrollbar, so if you drag the handle, you scroll through ticks. But I want the arrows to change between data points, so that if you use one of the arrows to step through, you’ll see every data point.

Is it possible for me to get the events directly from the HScrollBar so I know whether the user clicked an arrow or dragged the handle?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T19:43:11+00:00Added an answer on May 26, 2026 at 7:43 pm

    You can indeed use HScrollBar and VScrollBar directly, although it doesn’t give you the positions in the way you say you want them. You can set the amount of space it moves when the user clicks an arrow (that would be the SmallIncrement and SmallDecrement) and when the user clicks in the scroller area (LargeIncrement and LargeDecrement). But you can’t set the amount of space it moves when the user is dragging the thumb.

    You could potentially move the scroller position when the user stops dragging (by rounding the resulting position), but that might confuse the user. Look into the HScrollBar.Scroll event and the ScrollEventArgs.Type property.

    It’s probably better to use the TrackBar and add left and right arrow buttons to your UI. Making a HScrollBar work the way you want is going to be difficult, and it probably wouldn’t look as nice as the TrackBar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an odd problem...I'm using a documentation generator which generates a lot of
I have an odd edge case right now in that a response code from
I have an odd linq subquery issue. Given the following data structure: Parents Children
I have an odd situation in which I need to modify the position of
I have really odd user requirement. I have tried to explain to them there
I am trying to join two tables together, but have an odd requirement. Normally
I have an odd situation with a DEV site at work. Last week, our
I have an odd problem. I need to export Japanese characters from a table
I have some odd data in a vendor database but need to be able
I have odd problem: After starting server I got this error: undefined local variable

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.