Vcl.StdCtrls.TScrollBar.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TScrollBar(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TScrollBar(HWND ParentWindow) : Vcl::Controls::TWinControl(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TScrollBar |
Description
Creates and initializes an instance of TScrollBar.
Call Create to create an instance of TScrollBar at runtime. Scroll bars placed on a form at design time are created automatically.
AOwner is the component that is responsible for freeing the scroll bar. This becomes the value of the Owner property.