How do I programmatically layer controls at run time?
You can layer controls along their z-axis ("Bring to Front" or "SendToBack") by calling the control's BringToFront or SendToBack method.
For example, in C#:
this.txtName.SendToBack();And in VB .NET:
Me.txtName.SendToBack()
© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 07/05/04
Comment or report problem with topic
