|
|
Comments and Discussions
|
|
 |

|
Can someone help a beginner here please?I've referenced the dll and the component is in the toolbox but I get this error.
Thanks
|
|
|
|

|
Really cool control. I used your control in my article on this website at: http://www.codeproject.com/KB/cs/YouTubeVideoScriptor.aspx
|
|
|
|

|
HI NicolNghia, I really liked you MAcTrackBar, I think it will be extremely usful in a windows app that needs to run on a touch panel. Can we use this control in a commercial application? The code file has a mention that binary code can be used freely, but not really sure what you meant by the registered developer and codeproject user can download and use this dll? Please confirm ASAP, Savita
|
|
|
|

|
When you have an large numbers +5000,-5000
your slider throws exception, there the fix :
OnMouseMoveSlider
_value = Math.Min(Math.Max(Minimum, _minimum + offsetValue), Maximum);
|
|
|
|

|
Hi
can you modify this to allow values from 0 to 10 where each step can be 0.5 increments
|
|
|
|

|
Hi, excellent trackbar but I have found a small bug. If you increase the size of the 'pill'/tracker to say, 60, increase the max to 100 then position your mouse pointer to the top of the 'pill'/tracker and start sliding upward, the 'pill'/tracker initially jumps the height of the 'pill'/tracker. Positioning your mouse at the bottom of the 'pill'/tracker avoids this bug. Also, this only occurs if the trackbar is set to verticle. If possible, could you fix this please? Thanks, kind regards, Richard Bushill.
|
|
|
|

|
This occurs when the maximum value of slider has a large amount of value.
I used it in media player for example, setting it as a tracker for the position
of the media.
System.OverflowException was unhandled
Message="Arithmetic operation resulted in an overflow."
Source="MACTrackBarLib"
StackTrace:
at XComponent.SliderBar.MACTrackBar.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationContext context)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at VRPlayer.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
|
|
|
|
|

|
This code is absolutely the best one on the net!
I changed the code just a bit and understood it quite well. It's written and documented perfectly but I want to add another feature that I have no clue how to implement. example: I want the ranges to be set from 1 to 10 (as possible right now) but I want to make the 7, 8, 9 and 10 to be shown as disabled. meaning that the user couldn't move the tracker to them and would be stopped at 6 if dragging the mouse beyond it. The user could choose only the 1 to 6 tickers.
Does anyone have any idea on how to implement that?
Thanks a lot to all the helpers!
|
|
|
|

|
pls help me! i am having a dll file for custom control,how to upload it into my asp.net application using c#
|
|
|
|

|
Hey dude great control... is there a way to have multiple track points that you can slide on the same tab strip?
|
|
|
|

|
Hi,
It seems the scroll event doesn't raise when I use the keyboard (arrow keys).
The value changes but no scroll events.
Any clue ?
Regards,
Tonio
|
|
|
|

|
Whenever the MAC trackbar is used it causes all other controls in the form, including itself, to refresh very slowly. This behavior goes away when the trackbar's visibility is set to false (when I use it in my app). This can be seen in the demo project provided with this article, although I can't make the refresh problem go away by making the trackbar's visible to false. The demo project seems to have the refresh problem regardless. Does anyone know the cause of this or know how to fix it?
|
|
|
|

|
HI,
can u send sample code how to make the tackbar transparant?
if we make it transparant ,whether it take background color?
ELA
|
|
|
|

|
very good job,
do you have sample code for the another form sample?
Reinaldo
|
|
|
|

|
There are XP style and Standard style at below links:
XP: http://www.x-component.com/modules.php?name=Content&pa=showpage&pid=1
IDE: http://www.x-component.com/modules.php?name=Content&pa=showpage&pid=17
Cheers,
Nghia
X-Component
|
|
|
|

|
fine, but I was asking about "sample code".
sample code about your second screen shot.
|
|
|
|

|
Thnkz 4 the both version (C# N' Vb.net)
|
|
|
|

|
Thanks for your comment.
There is a bug, and I just fix it.
http://www.codeproject.com/useritems/MAC_Slider.asp?msg=1686281#xx1686281xx
Good Luck,
Nicol Nghia
|
|
|
|

|
I've seen my share of extended trackbars, and this advanced one is far better than the rest.
Great job on documentation as well.
Greg
|
|
|
|

|
Thanks for your comment.
There is a bug, and I just fix it.
http://www.codeproject.com/useritems/MAC_Slider.asp?msg=1686281#xx1686281xx
Good Luck,
Nicol Nghia
|
|
|
|

|
I am a newbie so perhaps I am doing something wrong. I set the max value to 100. When the slider approaches the top of the slide, the value goes up to 103, and then snaps back to 100, the true max. Any suggestions?
|
|
|
|

|
You are not newbie You are right. This is a bug of the control. I just fix this and update the source codes.
Thanks,
Nicol Nghia.
|
|
|
|

|
Hi,
given that you provided the sources for this I assume it is free to use. On the other hand you are selling it within your suite. Could you clarify this point please?
I need it for one of my articles here and I've found no other slim but nice looking trackbar...
Robert
|
|
|
|

|
Robert: If you read the license at top of the classes you will see that it is not to be used, modified, or used as a template for a similar control. Basically if you don't buy the pack you may as well delete the control.
This control definitely has some strong advantages over the standard track bar--however it's licensing restricts any level of use outside of advertising for your control packs.
Some loosing of the licensing would be nice (say, for use in free software).
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
An advanced TrackBar (Slider) control that supports MAC Style and many other features
| Type | Article |
| Licence | CPOL |
| First Posted | 7 Jun 2006 |
| Views | 149,288 |
| Downloads | 8,039 |
| Bookmarked | 96 times |
|
|