Results 1 to 7 of 7

Thread: The mysterious .ZOrder [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Lively Member Daniel McCool's Avatar
    Join Date
    Oct 2002
    Posts
    127

    Lightbulb The mysterious .ZOrder [RESOLVED]

    I have figured out that a control's order (objects with higher order are displayed above all subordered controls) can be manipulated to some extent with the .ZOrder command.
    VB Code:
    1. Command1.ZOrder (0) ' brings forth
    Lets say that you have a text box placed over a command box, and because the text box is of 'higher order', you cannot see the command button. The above code will bring it forth above the textbox.
    VB Code:
    1. Command1.ZOrder (1) ' sends back
    This works in a simple example as in the one I gave above. But when implemented into a more complex situation, it doesn't seem to work. I have my control in the correct container, and is visible etc. Can somebody ******** this .ZOrder command.

    VB Code:
    1. For X = 1 To Form1.Count
    2.             Label9.ZOrder (0)
    3.         Next X
    4.        ' This doesnt not work :(
    Last edited by Daniel McCool; Oct 26th, 2002 at 03:49 PM.
    "Some love is fire, some love is rust. But the finest, cleanest love is lust." - James Bond

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