Results 1 to 4 of 4

Thread: Dynamic labels over shape

  1. #1

    Thread Starter
    Lively Member Xcoder's Avatar
    Join Date
    Jan 2004
    Posts
    120

    Dynamic labels over shape

    Hello all,

    I have created a set of labels dynamically during runtime, and I want to place them over a shape. The problem is that the shape is always brought to the front and the labels can't be shown, how can I tackle this problem

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    Use the ZOrder method of either the Label or Shape control.

    Label1.ZOrder vbBringToFront

    or

    Shape1.ZOrder vbSendToBack

    Note, Label and Shape controls cannot be brought to the "Front" of "real controls", such as Buttons, Textboxes etc..

  3. #3
    Hyperactive Member
    Join Date
    May 2003
    Posts
    401

    Re: Dynamic labels over shape

    Originally posted by Xcoder
    Hello all,

    I have created a set of labels dynamically during runtime, and I want to place them over a shape. The problem is that the shape is always brought to the front and the labels can't be shown, how can I tackle this problem
    Try using the Zorder method of the two controls.
    Enjoy!!!
    apps_tech

  4. #4

    Thread Starter
    Lively Member Xcoder's Avatar
    Join Date
    Jan 2004
    Posts
    120
    thankx a lot mates!

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