Skip to main content

TdxCustomRangeControl.MakeSelectedRangeVisible(Boolean) Method

Centers the current range selection within the range control’s viewport, if possible.

Declaration

procedure MakeSelectedRangeVisible(AAnimated: Boolean);

Parameters

Name Type
AAnimated Boolean

Remarks

You can call this procedure to move the range selection into the viewport. Pass True or False as the AAnimated parameter to specify whether an animation effect is applied to the scale scrolling transition.

Calling the MakeSelectedRangeVisible procedure has no effect if:

  • The entire selectable range fits into the range control’s viewport;

  • The range selection is already visible and cannot be centered within the viewport area (i.e., the selection is located near the maximum or minimum selectable value, which is currently visible).

See Also