Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi.
I have a trackbar. I need to set trackbar value depending on where
user has clicked on the bar ( mouse_up event for example ). However
event arguments are telling me only about x and y position and so
on... If i had hittest method i could try to work it out... Maybe you
will know how to do described task?
Regards
PK

[edit]Spurious big, bold, code blocks removed, subject made relevant to question - OriginalGriff [/edit]
Posted
Updated 22-Apr-11 6:09am
v3

1 solution

The TrackBar automatically does that. If you want finer control over how much it jumps, change the LargeChange and SmallChange properties.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900