Results 1 to 6 of 6

Thread: make label's zorder above picturebox

  1. #1

    Thread Starter
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111

    make label's zorder above picturebox

    Is there a way to make a Label appear foremost over a picturebox?

  2. #2
    Frenzied Member KayJay's Avatar
    Join Date
    Jul 2001
    Location
    Chennai
    Posts
    1,849
    How about setting the Label's container to the PictureBox?

    "Brothers, you asked for it."
    ...Francisco Domingo Carlos Andres Sebastian D'Anconia

  3. #3

    Thread Starter
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    The label must also be able to move beyond the bounds of the picturebox.

  4. #4
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    I also had this problem but I never found the answer. Sorry


    Has someone helped you? Then you can Rate their helpful post.

  5. #5
    PowerPoster
    Join Date
    Jul 2002
    Location
    Dublin, Ireland
    Posts
    2,148
    Labels, shapes and lines are so called lightweight controls.
    These controls do not really exists as windows in their own right but rather are drawn by their parent control (form, picturebox etc.) when it is refreshed.

    This means that they cannot float above any other control that is on top of their parent - a control cannot draw on another control's area.

    There are ways around this (like creating a window of style "STATIC" to represent the label) but they aren't too straight forward.

  6. #6

    Thread Starter
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Well I've used drag/drop methods to do what I want. It just doesn't look like I want it to.


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