TControl.SetZOrder procedure
Moves the control in front of or behind all sibling controls.
Declaration
procedure SetZOrder(TopMost: Boolean); virtualArguments
TopMost | True to move the control in front of other sibling controls. False to move the control behind other siblings. |
Description
SetZOrder calls the SetChildZPosition method in the Parent control
to change the Z-Order for the control instance. TopMost indicates whether the
control is moved to the top or bottom of the Z-Order.
No actions are performed in the method when Parent has not been assigned.
SetZOrder is used to implement the BringToFront and SendToBack methods. It may be overridden is descendent classes to perform actions needed for the derived controls. See TCustomForm.SetZOrder.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
