|
-
Dec 4th, 2002, 05:30 AM
#1
Thread Starter
Hyperactive Member
How to get a label to the front of a pictureBox
Hi, I have a pictureBox and a lable on my usercontrol. I want to bring thelabel in front of the picturebox, which doesnt seems to be possible. When i select 'Bring to front' from the dit menu on the label, nothing happens. Similiarly, if I choose 'Send to back' on the pictureBox, its not going back. I want a way in which i can bring the label in front of the picturebox. I used the API BringWindowToTop, but it could also not solve the problem. Plz help.
If Not VB Then Exit
------------------------------------------------
visit me @ http://mzubair.50g.com/
-
Dec 4th, 2002, 06:46 AM
#2
Frenzied Member
I think it may be because labels don't have a hWnd, can you use a locked textbox instead? If not maybe you can make up your own label ActiveX?
-
Dec 6th, 2002, 08:55 AM
#3
Thread Starter
Hyperactive Member
Thanx Rick
thanx Rick, but i got another alternate for my problem. Now I have pasted the label box inside the picturebox, aint that clever.
If Not VB Then Exit
------------------------------------------------
visit me @ http://mzubair.50g.com/
-
Dec 6th, 2002, 10:03 AM
#4
Frenzied Member
Oh yeah, I forgot you could do that
-
Dec 6th, 2002, 01:44 PM
#5
or you could have right clicked it and choose Bring To Front..
-
Dec 6th, 2002, 02:27 PM
#6
Frenzied Member
He said in the first post it doesn't work for labels/pictures.
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
|