Recent

Author Topic: Form.SendToBack do not works?  (Read 3753 times)

luigisic

  • New member
  • *
  • Posts: 8
Form.SendToBack do not works?
« 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.

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 451
  • Programming is FUN only when it works :)
    • Cool Technology
Re: Form.SendToBack do not works?
« Reply #1 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...

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 451
  • Programming is FUN only when it works :)
    • Cool Technology
Re: Form.SendToBack do not works?
« Reply #2 on: February 10, 2023, 04:01:04 pm »
bump

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2010
  • Fifty shades of code.
    • Delphi & FreePascal
Re: Form.SendToBack do not works?
« Reply #3 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  ::)
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

 

TinyPortal © 2005-2018