Hi,
I have a form that containing a horizontal scrollbar and
a textbox controls. I set the min and max properties of
the scrollbar to 0 and 255 respectively, and the smallchange
and largechange properties of the scrollbar are set to
1 and 10. A scroll event of the scrollbar is added so that
the textbox control will display the value of the scrollbar.
But strangely, I scroll it to the most-left position but
the textbox displays only 246....I try many times it
can only display 246 but instead of 255. Does anyone
encounter this problem before? Know any solution to this?
I need to use this scrollbar to control a color property
in the form....so urgently need your advice or fixes.
Thanks for your kind attention,
Raymond
I have a form that containing a horizontal scrollbar and
a textbox controls. I set the min and max properties of
the scrollbar to 0 and 255 respectively, and the smallchange
and largechange properties of the scrollbar are set to
1 and 10. A scroll event of the scrollbar is added so that
the textbox control will display the value of the scrollbar.
But strangely, I scroll it to the most-left position but
the textbox displays only 246....I try many times it
can only display 246 but instead of 255. Does anyone
encounter this problem before? Know any solution to this?
I need to use this scrollbar to control a color property
in the form....so urgently need your advice or fixes.
Thanks for your kind attention,
Raymond