RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TScrollingWinControl.AutoScrollInView Method

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

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

Use AutoScrollInView to scroll the control specified by the AControl parameter into the visible area of the scrolling windowed control. 

Unlike ScrollInView, AutoScrollInView does not perform scrolling when the scrolling windowed control or the specified control are being loaded from a stream. 

AutoScrollInView calls ScrollInView to perform any needed scrolling. 

 

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