Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
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?!?!?!
Posted

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.....

UCM

>-)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...