473,700 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

TrackBar vs Slider


I am trying to assess how much work it is going to be to "port" my current
Visual Studio 6.0 applications to dotNet.

It seems like many things that should be trivial are really problematic. I'm
sure this mostly (but not completely) due to my lack of experience with

Anyway, the latest "trivial" issue concerns the Slider ActiveX control from

In my 6.0 version of the application, I use a combination of slider controls
and flat scroll bars to control different types of scrolling, shifting, etc.
of images. Using a couple of different types of controls makes it easier for
the user to know which tool to grab in order to scroll, shift, etc. as

I notice that a similar looking control exists in dotNet - it's the
TrackBar. Unfortunately, the TrackBar doesn't seem to want to scale down to
a size that I can use - that is, have a height or width less than 45. This
is way too chunky for my interface.

The slider (from v6.0) is an ActiveX control, so I know I could simply use
that, but that's not my first choice as this seems to go against the grain
(and gain) of dotNet.

Is there a reasonably simple way to create a WindowsForms control (or "user"
derivative) that can be scaled to small sizes (like the slider control)?
Perhaps by creating a control inhariting all of the properties of the
TrackBar, but somehow allowing a smaller minimum height?

Thanks for any insights,
Jan 17 '06 #1
2 3551
turn off autosize

Jan 18 '06 #2
Boy - do I feel dumb.


<ca*****@kellco mnet.us> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
turn off autosize

Jan 18 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: paja | last post by:
Hello All In my application I am using TackBar, in past there used to be a controll like Slider. Wtih slider you could graphically show that what section of slider you have selected by fill in colors. Example could be that if you have slide the bar from 1- 10 then there will be a color fill from 1 - 10 where 11 - 100 will not have any fill My question is how can I use same functionality in the Tack bar, if not then what other controll...
by: juergen | last post by:
how to design a trackbar/slider with diff. look??? For my win-application I need a trackbar/slider, that doesnt look like the control-trackbar offered by vb.net. ; e.g. something like the slider in win-mediaplayer..., but with my own design. tried to change the look, and create something that works like a slider, but didnt find a solution yet
by: ACaunter | last post by:
Hi there, I was wondering how i could have a slider control on my asp.net page. Is this possible for asp.net?? or do i have to use javascript?? can anyone provide any code or links on how i could do this.. thanks so much! -- AdamPC@hotmail.com
by: Geoff Cox | last post by:
Hello, I have a small app which uses a trackbar which I wrote using Visual C++ 200 Express Beta 2 and would like to have it available as a web page. Any ideas on how to do this? Visual Web Developer Express Beta 2 does not seem to be able to do it ... Thanks
by: _DD | last post by:
TrackBar DoubleClick event is not accessible via the Control Properties event pane. So I tried adding the handler directly: this.ColTrackBar.DoubleClick += new System.EventHandler(this.ColTrackBar_DoubleClick); It compiles but never fires. I suspect that individual Click events are getting gobbled up by the main trackbar position event handler. Any way around this?
by: mmdst23 | last post by:
I'm working on a video player app, and I want to implement a trackbar that behaves like the one in Media Player, that is the cursor position moves to where the user clicked instead of moving in that direction by a fixed value. Has anyone implemented something like this before? I haven't found anything on codeproject, or searching the .NET newsgroups. This seems like it would be a common control type, am I missing the easy solution? I...
by: Fab | last post by:
Hi, I am looking for a trackbar (slider) that could be a little bit more customizable that the Microsoft one. Do you know one (free or commercial) ? Thanks !
by: John | last post by:
Ok, something that I thought would be easy is giving me fits. Using .NET 2.0 and C# I've added a Trackbar to a form. Set some values: trackVolume.Maximum = 100; trackVolume.Minimum = 0; trackVolume.TickFrequence = 25; Then I added an event for the value:
by: Bully | last post by:
How do I determine whether the Value of a trackbar has been changed by the user, or changed programatically? For example, if I set trackbar1.value = 10 in code, then the ValueChanged event gets fired. This same event gets fired if I move the slider on the trackbar. How do I distinguish between a user action and a coding action? Thanks Jon
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.