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

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

Re: How to show transparaent label in window forms by Jessie

Jessie
Wed Dec 07 20:40:44 CST 2005

Thanks a lot

Jessie
"Jacky Kwok" <jacky@hkcompose.com> wrote in message
news:ekpTgv5%23FHA.228@TK2MSFTNGP12.phx.gbl...
> 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