How to make a slide control use decimals

Posted on 2011-10-03
Medium Priority
Last Modified: 2012-05-12
Hi I want to make my slide control increment by 0.1 each time I move the slide control up to 10 how do I make the control do this instead of interger values I want to use Double values.
Question by:nchannon
1 Comment
LVL 86

Accepted Solution

jkr earned 1000 total points
ID: 36906075
You might be interested in the following articles whihc both do allow floating point values for slider controls:

http://www.codeproject.com/KB/edit/smartedit.aspx ("A smart edit and linked slider control")
http://www.codeproject.com/KB/miscctrl/SliderGdiCtrl.aspx ("SliderGdiCtrl: Yet Another Slider Control - Accepts (Almost) All POD Types and Uses GDI+")

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

864 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