Results 1 to 4 of 4

Thread: Z-index in VB.Net?

  1. #1

    Thread Starter
    Member
    Join Date
    May 2005
    Posts
    63

    Resolved 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.

  2. #2
    Hyperactive Member temp_12000's Avatar
    Join Date
    Jan 2004
    Location
    LA, USA
    Posts
    411

    Re: Z-index in VB.Net?

    Quote 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



  3. #3
    Fanatic Member Blade's Avatar
    Join Date
    Jan 1999
    Location
    Stoke-on-Trent, UK
    Posts
    527

    Re: Z-index in VB.Net?

    The labels have SendToBack and BringToFront methods
    for example:
    VB Code:
    1. 'send a label to the back
    2. Label1.SendToBack()
    3. 'and bring to front
    4. Label1.BringToFront()

  4. #4

    Thread Starter
    Member
    Join Date
    May 2005
    Posts
    63

    Re: Z-index in VB.Net?

    Thanks, Blade.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width