Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControl.BringToFront

Brings the control in front of other sibling controls.

Declaration

Source position: controls.pp line 1637

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 back all sibling controls.

TWinControl.SetChildZPosition

  

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



CT Web help

CodeTyphon Studio