-
May 2nd, 2006, 09:07 AM
#1
Thread Starter
Member
Drawing ontop of controls
I have a complex user control, with several controls, including picturebox, label, shapes etc. Now..i want a simple line that goes from one picturebox, then via an label and then to another picturebox. How can this be achived?
-
May 7th, 2006, 09:25 PM
#2
Addicted Member
Re: Drawing ontop of controls
If I'm reading this correctly. You want to place a line over all the other controls ? It's a pain in the butt that all controls weren't created equally.
Since you already know how to make user controls, what if you made a second user control. Make it the same size as the other control. Then, place a line control in it and set the usercontol's backStyle=0 ( transparent )
Then, just add the line UserControl to your control, make it topmost and there you go. If the line needs to be move-able just set up properties for the control.
If that isn't what you need, please post a little more info.
Keith_VB6
If you have any further questions, just ask.
If this solves things, then please mark the thread resolved.
[Thread Tools] --> [Mark Thread Resolved]
-
May 8th, 2006, 07:55 PM
#3
Re: Drawing ontop of controls
-
May 9th, 2006, 02:48 AM
#4
Thread Starter
Member
Re: Drawing ontop of controls
Keith_VB6 - great idea! Ill try it right away
Moeur - great link!
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
|