|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
transparancy in vb.netHi,
does anyone know how to set the BackColor of a label to transparant ? A have a picture as background image and I would like some labels on top. These labels must be transparant so that only the text is visible and the backcolor of the labels disapears ... Thanx John In article <klS7e.65561$Ys5.4585***@phobos.telenet-ops.be>, John Devlon wrote:
> Hi, In its backcolor property, switch to the web tab and select transparent.> > does anyone know how to set the BackColor of a label to transparant ? > > A have a picture as background image and I would like some labels on top. > These labels must be transparant so that only the text is visible and the > backcolor of the labels disapears ... > > Thanx > > John Though, I found that this does not work if you use Application.EnableVisualStyles () -- Tom Shelton [MVP] Dear Mr. Shelton,
Thanx a lot. It works great. John Show quoteHide quote > > In its backcolor property, switch to the web tab and select transparent. > Though, I found that this does not work if you use > Application.EnableVisualStyles () > > -- > Tom Shelton [MVP] This might work:
myLabel.SetStyle(ControlStyles.SupportsTransparentBackColor, True) Show quoteHide quote "John Devlon" wrote: > > Dear Mr. Shelton, > > Thanx a lot. It works great. > > John > > > > > > > > In its backcolor property, switch to the web tab and select transparent. > > Though, I found that this does not work if you use > > Application.EnableVisualStyles () > > > > -- > > Tom Shelton [MVP] > > >
Why use a module instead of class?
An absence of IntelliSense in this situation Writing a little app to modify a file Existsing of File Making trial version 2d array question... Question about Namespaces and the Object Browser. Installing VS.NET 2005 Beta 1 Populating WinForms DataGrid Checking the window state of a running process. |
|||||||||||||||||||||||