Results 1 to 2 of 2

Thread: Card Game Help again.

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Location
    Australia
    Posts
    6

    Cool

    As you may have already noticed I'm not that good with VB.

    I have yet another question.

    Here is the senario. You have 3 picture boxes on a form. When you drag the picture boxes around picture box 1 will always go under picture box 3.

    What it is that I would like to know is how can I get picture box 1 to drag over picture box 3 and not under.

    Life Sucks, so let it happen.

  2. #2
    Addicted Member overhill's Avatar
    Join Date
    Mar 2000
    Location
    KS, United States
    Posts
    181
    I have very little game programming experience but I think that I can help anyway. This is what I would suggest.

    Each time that a picture box is clicked, bring the control to the front using: ControlName.ZOrder

    For example if PictureBox1 is being dragged, set:

    PictureBox1.ZOrder

    This will bring the PictureBox to the front and all of the other controls will be under it. Hope that this helps!

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