|
-
Oct 30th, 2017, 04:49 AM
#1
Thread Starter
Lively Member
[RESOLVED] Moving one PictureBox on top of another
I load three PictureBoxes (Win1, Win2 and Win3) onto one form.
Win1 is large and the other two are small.
I can then draw on Win1.
I can then use .TOP, .HEIGHT, .BOTTOM and .WIDTH to place Win2 on top of Win1 and print on it.
I can then use .TOP, .HEIGHT, .BOTTOM and .WIDTH to move Win2 back to it's original place and size.
I can then use .TOP, .HEIGHT, .BOTTOM and .WIDTH to place Win3 on top of Win1 and draw and print on it.
Next I would like to place Win2 on top of Win3 and again print on it.
But, when I use .TOP, .HEIGHT, .BOTTOM and .WIDTH to place Win2 on top of Win3 I can't see it.
It is again on top of Win2 and I have to move Win3 before I can see it.
How can I see Win2 without moving Win3?
-
Oct 30th, 2017, 04:58 AM
#2
Re: Moving one PictureBox on top of another
Jerry
One quick way might be ZOrder, as in
If that doesn't do the trick, perhaps you could post some code and a screenshot
Spoo
-
Oct 30th, 2017, 05:50 AM
#3
Re: Moving one PictureBox on top of another
Last edited by Spooman; Oct 30th, 2017 at 10:13 AM.
Reason: steps 4,5 .. move Win2 left extra 100 for demo purposes
-
Oct 30th, 2017, 12:49 PM
#4
Thread Starter
Lively Member
Resolved Re: Moving one PictureBox on top of another
Spoo
That solution did what I wanted. Thank You.
Jerry900
Last edited by Jerry900; Oct 30th, 2017 at 12:53 PM.
Reason: Resolved
-
Oct 30th, 2017, 01:40 PM
#5
Re: [RESOLVED] Moving one PictureBox on top of another
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|