i have a trackbar bound to a text box.how can i change value of the trackbar to its maximum value if text box value exceed the max limit for trackbar.is there any setting in properties of trackbar?
its very urgent..please help..thanks in advance.

Recommended Answers

if value > trackbar.maximum then trackbar.value = trackbar.maximum

It's pseudocode, but should do the trick.

Jump to Post

All 4 Replies

if value > trackbar.maximum then trackbar.value = trackbar.maximum

It's pseudocode, but should do the trick.

actually i need to know if there is any setting in slider properties..to achieve this :)

No. But it is very easy to achieve by doing what I already told you to do.

ya..thank you :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.