Solved

Slider or trackbar Controls

Posted on 1997-12-17
3
246 Views
Last Modified: 2013-11-19
I have a slider control with a range from 1 to 100.  When I click on the slider but not on the bar and hold down the mouse button, the bar moves in intervals of 5 units (5, 10, ...,100).  I would like the bar to move in intervals of only 1 unit (1,2,3,...,100).  I was unable to find any help on setting the step size to a specified interval.  Any suggestions would be appreciated.

Thanx
zeekial@osler.card.bgsm.edu
0
Comment
Question by:zeekial
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 20 total points
ID: 1312537
For a slider control, you can control how much the slider moves by using GetLineSize()/SetLineSize() (default is 1) for each click of the arrows and GetPageSize()/SetPageSize() for each page (default is 5).


0
 

Author Comment

by:zeekial
ID: 1312538
Is there anyway to increase the speed at which it moves when its scrolling 1 by 1?
0
 

Author Comment

by:zeekial
ID: 1312539
Is there anyway to increase the speed at which it moves when its scrolling 1 by 1?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Looking for a specific application/software 2 104
isEverywhere  challenge 19 71
ShiftLeft challenge 21 76
EvenOdd challenge 10 88
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now