RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TScrollingWinControl.ScrollInView Method

Scrolls a control into the visible area of the scrolling windowed control.

Pascal
procedure ScrollInView(AControl: TControl);
C++
__fastcall ScrollInView(TControl * AControl);

Use ScrollInView to ensure that a specified control is in the visible area of the scrolling windowed control. AControl specifies the TControl object to scroll into view.

Note: If the ComponentState property for AControl or the scrolling windowed control might be csLoading, use AutoScrollInView instead.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!