Vcl.Forms.TCustomForm.SetChildOrder
Delphi
procedure SetChildOrder(Child: TComponent; Order: Integer); override;
C++
DYNAMIC void __fastcall SetChildOrder(System::Classes::TComponent* Child, int Order);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Changes the order in which Child appears when GetChildren is called.
Use SetChildOrder to change the order in which child components are loaded and saved. The Child moves as if it were an item in a list object: items previously below the child's old position move up, and those below the new position move down.