I need the control to be transparent so that it can show the image behind it
which is not just 1 color.


Mike <m_culley@one.net.au> wrote in message news:38c0446b$1@news.devx.com...
>
> You could set the user controls backcolor to be the same as the forms.
>
> UserControl.BackColor=Ambient.BackColor (i think)
>
>
> "David Burstin" <david@precise.com.au> wrote:
> >I have created a user control similar to the slider control.
> >
> >The sliding part is an image control, the image is a .gif file.
> >
> >The image is transparent if it is placed directly on a form, however in

> the
> >usercontrol it takes on the background color of the control, even thought
> >the control is transparent!
> >
> >It seems that the image cannot get the background of the form through the
> >usercontrol.
> >
> >Does anyone know how to set the background of an image on a user control

> to
> >be transparent right through the control and onto the form/container?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >

>