How to show transparaent label in window forms

  • Thread starter Thread starter Jessie Niu
  • Start date Start date
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
 
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.
 
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.
 
Back
Top