Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 24th, 2008, 11:37 AM
Authorized User
 
Join Date: Apr 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default Change Slider control direction

I know how change the orientation (vertical/horizontal) of a slider control. But how can I change the direction of the value? Now I have the min value up, and the max value down, and I want to change it...


Thanks in advance


http://www.hhdirecto.net
http://www.dechiste.com
http://www.sinmp3.com
__________________
http://www.terapiahiphop.com
 
Old January 24th, 2008, 01:13 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

subtract its value from a constant of the max value of the slider, and use the results of that equation, rather than the value of the slider.

If you really want to keep everything together, when the value of the slider changes, in the change event calculate this, then immediately put the value in the slider's tag property.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to control the direction in Assembly Language uppermore Assembly Language 1 January 10th, 2010 07:10 AM
Java Applet - Search with Slider options itHighway Classic ASP Basics 0 June 10th, 2006 02:49 AM
Trackbar (slider) in asp.net pchocola Classic ASP Components 1 March 18th, 2005 07:26 PM
how to change all control color ashish2001mca .NET Framework 2.0 1 February 23rd, 2005 12:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.