How to show transparaent label in window forms

J

Jessie Niu

Hi,

I try to add a label to a windows form, but as background is image, the
label need to be transparent, but it seems no transparent property
available, I found a one in web tab, but it does not work.

Help

Thanks


Jessie
 
J

Jacky Kwok

Jessie said:
Hi,

I try to add a label to a windows form, but as background is image, the
label need to be transparent, but it seems no transparent property
available, I found a one in web tab, but it does not work.

Help

Thanks


Jessie

The Dotnet2.0 Label can do so. When its background color is set to
transparent. It will copy the parent control's background a its
background including background image.


In dotnet1.x, I will suggest you directly draw the string by "DrawString
function" if your label text in fact does not change.
 
J

Jessie Niu

Thanks a lot

Jessie
Jacky Kwok said:
The Dotnet2.0 Label can do so. When its background color is set to
transparent. It will copy the parent control's background a its
background including background image.


In dotnet1.x, I will suggest you directly draw the string by "DrawString
function" if your label text in fact does not change.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top