|
-
Jul 4th, 2003, 04:35 AM
#1
Thread Starter
So Unbanned
make label's zorder above picturebox
Is there a way to make a Label appear foremost over a picturebox?
-
Jul 4th, 2003, 04:41 AM
#2
Frenzied Member
How about setting the Label's container to the PictureBox?
"Brothers, you asked for it."
...Francisco Domingo Carlos Andres Sebastian D'Anconia
-
Jul 4th, 2003, 04:49 AM
#3
Thread Starter
So Unbanned
The label must also be able to move beyond the bounds of the picturebox.
-
Jul 4th, 2003, 07:54 AM
#4
-
Jul 4th, 2003, 08:04 AM
#5
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.
-
Jul 5th, 2003, 09:33 AM
#6
Thread Starter
So Unbanned
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|