Lazarus

Using the Lazarus IDE => General => Topic started by: luigisic on November 03, 2008, 07:25:04 pm

Title: Form.SendToBack do not works?
Post by: luigisic on November 03, 2008, 07:25:04 pm
Hallo,
  if I try Form1.SendToBack it seems do not works.

The counterparts BringToFront seems works fine.

But I need "SendToBack".

Any help?

Thanks.
Title: Re: Form.SendToBack do not works?
Post by: Awesome Programmer on March 30, 2022, 05:06:29 pm
Well, we are going to bump this question all the way to the top... I need an answer to this... this is 2022...

Any idea...
Title: Re: Form.SendToBack do not works?
Post by: Awesome Programmer on February 10, 2023, 04:01:04 pm
bump
Title: Re: Form.SendToBack do not works?
Post by: KodeZwerg on February 10, 2023, 04:18:43 pm
Quote
TControl.SendToBack

Moves all sibling controls in front of this control.

Declaration

Source position: controls.pp line 1660

 
public procedure TControl.SendToBack;

Description

Use SendToBack to move the control beneath all other sibling controls on the Parent. Only those portions of the control not covered by other controls will be visible.

Calls SetZOrder to move the position for the control on the z-axis (depth) to the maximum Integer value for the platform.

Use BringToFront to move a control to the top of the Z-axis on the Parent control.

Use SetChildZPosition in TWinControl to move a child control to a specific position on the Z-axis where 0 is the top and MaxInt is the bottom of the Z-order.

So what you want to achieve?
Use minimize and its not in front anymore  ::)
TinyPortal © 2005-2018