Home All Groups Group Topic Archive Search About

textbox.backgroundImage

Author
19 Nov 2006 9:15 AM
Pascal
Hello

I try googling this without success... Does anyone know how to do that ?
Putting an image in the backgroung of a textbox ?

i try this in a usercontrol without success : but it works for a label !
Public Class MonTextBox

Dim back As New Bitmap("C:\max.png")

TextBox1.BackgroundImage = back

End Class

thanks

http://www.scalpa.info

Author
19 Nov 2006 4:04 PM
Ken Tucker [MVP]
Hi,

         Maybe this will help

http://www.codeproject.com/cs/miscctrl/AlphaBlendedTextControls.asp

Ken
-------------------------------------------

Show quoteHide quote
"Pascal" wrote:

>
> Hello
>
> I try googling this without success... Does anyone know how to do that ?
> Putting an image in the backgroung of a textbox ?
>
> i try this in a usercontrol without success : but it works for a label !
> Public Class MonTextBox
>
> Dim back As New Bitmap("C:\max.png")
>
> TextBox1.BackgroundImage = back
>
> End Class
>
> thanks
>
> http://www.scalpa.info
>
>
>