Solved

Slider or trackbar Controls

Posted on 1997-12-17
3
235 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
Comment Utility
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
Comment Utility
Is there anyway to increase the speed at which it moves when its scrolling 1 by 1?
0
 

Author Comment

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

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Importing  SSL Certificate into Firefox using GPO 28 192
not able to insert into temp table 68 149
iSeries DB2 Query 2 83
bigDiff challenge 17 74
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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 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

12 Experts available now in Live!

Get 1:1 Help Now