RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TObjectField.SetChildOrder Method

Sets the visual ordering of a child control.

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

SetChildOrder is used internally in the component streaming system. It is not necessary to call it directly.  

Derived classes override this method to actually implement the ordering. TWinControl uses this ordering information to Z-align the controls. 

 

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