Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Allow user to stop/drag at Trackbar tick only not inbetween

$
0
0

Hi All,

I have one trackbar with below details,

Minimum =20, SmallChange=20, LargeChange=20, Maximum=80, TickFrequency=20

With above parameters set My trackbar has only 4 ticks. I don't want user to drag mouse between two ticks. It should stop at postion of ticks only.

Is there any way I can put this restriction?

Seems very simple but I am not able find it. I appreciate your help achieving this.


Regards, Jignesh



Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>