Re: How to show transparaent label in window forms by Jacky
Jacky
Wed Dec 07 20:04:57 CST 2005
Jessie Niu wrote:
> 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.
--
Jacky Kwok
jacky@alumni_DOT_cuhk_DOT_edu_DOT_hk
jacky@compose_DOT_com_DOT_hk