-
Jul 4th, 2005, 05:17 PM
#1
Thread Starter
Member
Z-index in VB.Net?
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.
Last edited by mancroft; Jul 4th, 2005 at 06:40 PM.
Reason: Hypnotized by Daleks.
-
Jul 4th, 2005, 06:20 PM
#2
Hyperactive Member
Re: Z-index in VB.Net?
Originally Posted by mancroft
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.
maybe you can just set .visible = true/false
-
Jul 4th, 2005, 06:35 PM
#3
Fanatic Member
Re: Z-index in VB.Net?
The labels have SendToBack and BringToFront methods
for example:
VB Code:
'send a label to the back
Label1.SendToBack()
'and bring to front
Label1.BringToFront()
-
Jul 4th, 2005, 06:39 PM
#4
Thread Starter
Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|