Dave Posted January 19, 2003 Posted January 19, 2003 I have a picture box on my form (with an image in) and i want to put a label on top of it, but with the background of the label being transparent. It has to be a label control becuase it needs to be moved around at run-time in certain bits of code... any ideas?!?!?! Quote
Moderators Robby Posted January 20, 2003 Moderators Posted January 20, 2003 You can just place an image in the label itself. Quote Visit...Bassic Software
*Gurus* divil Posted January 20, 2003 *Gurus* Posted January 20, 2003 http://www.syncfusion.com/FAQ/WinForms/FAQ_c41c.asp#q701q Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
UCM Posted January 20, 2003 Posted January 20, 2003 Hope this helps, I'm at work right now and away from my VB, please excuse any uncertainties but try this out... It sounds like you want to put text on a background image kind of thing, like the text under the icons on your windows desktop... If that's the case then you should ( i believe ) be able to do this with the designer... In the designer, draw the label on top of the picture inside your picturebox. Use the designer's property tool-window on this label and click on the BackColor property. This should open a lil window ontop of the backcolor property with 3 tabs, click on the 'Web' tab and scroll all the way up ( or down ) and you should see a transparent property... Ither that or there might be a backstyle or backgound property to set to transparent..... Quote UCM >-)
Dave Posted January 20, 2003 Author Posted January 20, 2003 Thanks 4 the link divil, setting the label's parent to the picture box worked fine. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.