Vcl.Forms.TScrollingWinControl.AutoScrollInView
Delphi
procedure AutoScrollInView(AControl: TControl); virtual;
C++
virtual void __fastcall AutoScrollInView(Vcl::Controls::TControl* AControl);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TScrollingWinControl |
Description
Scrolls a control into the visible area of the scrolling windowed control.
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.