Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » To set range of CExtGridCellInplaceSlider... Collapse All
Subject Author Date
sanjay kadam Mar 27, 2008 - 3:21 AM

I am using CExtGridCellInplaceSlider in Grid....

i want to set Range for the slider...

the range will have MinValue and MaxValue e.g.    (10 - 80)

I tried CExtGridCellInplaceSlider::ScrollTotalRangeSet but it set the range from     0 to maxValue.    e.g.    (0 - 80)

so can you help me out........

Technical Support Apr 2, 2008 - 5:50 AM

The CExtGridCellInplaceSlider::ScrollTotalRangeSet() method allows you to set the scroll range, which is always zero-based. If you need values in the range of 10 to 80, you should set the scroll range to 70 and shift scroll values to 10 in your code before using the scroll position.