Controls.TWinControl.FlipChildren

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Controls.pas

	procedure FlipChildren(AllLevels: Boolean); dynamic;


Unit: Controls

Type: method

Visibility: public

Member Of: TWinControl

C++ Information

From Controls.hpp

	dynamic virtual void __fastcall FlipChildren(bool AllLevels);


Unit: Controls

Type: method

Visibility: public

Member Of: TWinControl

Description

Reverses the positions of child controls.


Call FlipChildren to flip the control's children; that is, to move children on the left side of the control to the right side and vice versa. FlipChildren reverses the position of all child controls and adjusts their Align properties, if necessary, to enforce the new position.

AllLevels specifies whether FlipChildren should be called recursively on the control's children.

FlipChildren can be used to reverse the layout of an application when it is running in Middle Eastern locales where users read from right to left instead of left to right: Call UseRightToLeftAlignment to determine whether the BiDiMode property dictates a reversal of alignment based on the system locale.

Note:  FlipChildren does the same thing as the Flip Children command on the control's context menu in the IDE.

See Also

Personal tools
Translations
Newest Version