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