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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Z-index in VB.Net? 2

Status
Not open for further replies.

mancroft

Programmer
Oct 26, 2002
267
GB
Z-index in VB.Net?

You create two labels by coding, NOT by dragging on to the stage.

Is it possible to code a z-index type of thing to place one on top of the other?

I know that with a label on the stage , you can right-click and send to front or back.

Thanks.
 
You can use BringtoFront and SendtoBack in code
Code:
Dim x1 As New Label
x1.BringToFront()
Dim x2 As New Label
x2.SendToBack()


Sweep
...if it works dont f*** with it
...if its f****ed blame someone else
...if its your fault that its f***ed, say and admit nothing.
 
label1.bringtofront and label1.sendtoback



- - - - - - - - - - - - - - - - - -
Im three apples high, Im blue, and i most certainly like that cold beer that should be every mans right after a hard days work!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top