Label's without background?

  • Thread starter Thread starter =?ISO-8859-2?Q?Marcin_Grz=EAbski?=
  • Start date Start date
?

=?ISO-8859-2?Q?Marcin_Grz=EAbski?=

Hi All,

There is a chance to make Label (Windows) without its background?
I want to add text shadow as a Label that lies below its text Label.
If i try Label class (with all properties) i can not set upper
label background transparency.
Is there any (windows) control that draws text without background?

Help me... pleez!

Marcin
 
Hi Marcin,

Try setting Label.BackColor to Color.Transparent.

Cheers,
 
Marcin,

As far as I know, there isn't. Instead of taking another control and
placing it below the control you want to draw the text shading for, I would
recommend hooking into the windows message handler for that control, and
handling the paint event, drawing the drop text when the control is painted.

Hope this helps.
 
Try setting Label.BackColor to Color.Transparent.

Hi,

It doesn't work on Windows XP (i don't try it on other Windows).
Only solution i know is to write a simpler version of Label
and don't draw its background.

.... any more clues?

Marcin
 
Back
Top