Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomRangeControl.MakeSelectedRangeVisible(Boolean) Method

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

#Declaration

Delphi
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