Results 1 to 5 of 5

Thread: Choosing what is on top of what

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    13

    Question

    Is there a run-time way to make sure that labels etc appear on top and not underneath an image when changing their positions?

  2. #2
    Guest
    Take a look at the ZOrder method.

    Code:
    Label1.ZOrder vbBringToFront
    Image1.ZOrder vbSendToBack

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    13

    Thumbs up

    Thanks!

  4. #4
    Guest
    Keep in mind that you can only use the ZOrder method on controls for their respective layer. For example, since the PictureBox is in a layer higher than the Label, you cannot make a Label go in front of it.

  5. #5

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    13
    Oh. Then is there a way to override this?

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