Forms.TScrollingWinControl.ScrollInView
From RAD Studio VCL Reference
Contents |
Delphi Information
From Forms.pas
procedure ScrollInView(AControl: TControl);
Unit: Forms
Type: method
Visibility: public
Member Of: TScrollingWinControl
C++ Information
From Forms.hpp
void __fastcall ScrollInView(Controls::TControl * AControl);
Unit: Forms
Type: method
Visibility: public
Member Of: 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.