[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TControl.BringToFront

Brings the control in front of other sibling controls.

Declaration

Source position: controls.pp line 1713

public procedure TControl.BringToFront;

Description

BringToFront is a method used to move the control to the top of the Z-Order for its sibling controls. BringToFront calls SetZOrder to change the display order for controls which share a common Parent. BringToFront has no effect when Parent has not been assigned.

See also

TControl.Parent

  

The control within which the control is shown.

TControl.SetZOrder

  

Moves the control in front of or behind all sibling controls.

TWinControl.SetChildZPosition

  

Updates the position of the child control in the Z plane (i.e. front-to-back).


Version 3.2 Generated 2024-02-25 Home