473,626 Members | 3,420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

TrackBar vs Slider

All,

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
dotNet.

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

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
desired.

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,
-Paul
Jan 17 '06 #1
2 3545
turn off autosize

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

Thanks

<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

1
1774
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...
2
3301
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
1
3180
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
2
1902
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
4
3262
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?
2
10171
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...
1
7195
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 !
2
18861
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:
0
1181
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
0
8268
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8202
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,...
0
8707
Oralloy
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...
1
8366
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7199
agi2029
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...
0
5575
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();...
0
4093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2628
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
1
1812
muto222
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.