RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.SetChildOrder Method

Changes the order in which Child appears when GetChildren is called.

Pascal
procedure SetChildOrder(Child: TComponent; Order: Integer); override;
C++
virtual __fastcall SetChildOrder(TComponent * Child, int Order);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!