Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bring to Front/Sent to Back

Status
Not open for further replies.

gcaramia

Programmer
Oct 30, 2003
185
IT
How can Bring to Front / Sent to Back a component at runtime (by code) ?

Thanks
 

Hide all that you don't want and unhide the one you do.

(Object.Visible := False)

 
ok, This is a metod; but i want bring to front a component and than send again to back without hide other components that at the meantime are partially visible.
At designe time this is possible by right-click on component and choosing control/Bring to Front or Send to back. I want realize this functionality at runtime (if possible)

 
Very easy.
Every visual component has property Bring to front and send to back:

panel1.BringToFront
panel1.SendToBack

i had forgot it.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top