System.Classes.TComponent.SetChildOrder

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetChildOrder(Child: TComponent; Order: Integer); dynamic;

C++

DYNAMIC void __fastcall SetChildOrder(TComponent* Child, int Order);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Classes.pas
System.Classes.hpp
System.Classes TComponent

Description

Sets the visual ordering of a child control.

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.

See Also