473,403 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Is it possible to put a label with a transparent back color on a form?

I'm coding a startup form whose back color is Linear Gradient ,and now I
want to place a label on the form. I don't like any back color of the
label,just wants it to be transaprent, Is it possible? Any ideas?

Peter

Nov 23 '05 #1
5 1369
Peter,

Why not set it to linear Gradiant?

Although you can use transparant as well it is in the webcolors

I hope this helps,

Cor

"Peter" <zl*****@sina.com> schreef in bericht
news:uH*************@TK2MSFTNGP10.phx.gbl...
I'm coding a startup form whose back color is Linear Gradient ,and now I
want to place a label on the form. I don't like any back color of the
label,just wants it to be transaprent, Is it possible? Any ideas?

Peter

Nov 23 '05 #2
"Peter" <zl*****@sina.com> schrieb:
I'm coding a startup form whose back color is Linear Gradient ,and now I
want to place a label on the form. I don't like any back color of the
label,just wants it to be transaprent, Is it possible? Any ideas?


Set the label's 'BackColor' property to 'Color.Transparent' (available on
the "Web" tab of the property window's color selection popup).

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 23 '05 #3
Cor and Herfried,

I've got the transparent backcolor from the "Web" tab.
Because the back color of my form is already linear gradiant and the back
color of the label is transparent, so the backgroud of my label is linear
gradiant. Thank you.

Peter

Nov 23 '05 #4
Cor and Herfried,

I've got the transparent backcolor from the "Web" tab.
Because the back color of my form is already linear gradiant and the back
color of the label is transparent, so the backgroud of my label is linear
gradiant. Thank you.

Peter

Nov 23 '05 #5
Cor and Herfried,

I've got the transparent backcolor from the "Web" tab.
Because the back color of my form is already linear gradiant and the back
color of the label is transparent, so the backgroud of my label is linear
gradiant. Thank you.

Peter

Nov 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Efkas | last post by:
Hi, I had some label with BackColor.Transparent and a User Control also with transparent background. When I put a label on the user control, instead to have transparent result I obtain a...
4
by: Adam Maltby | last post by:
Hi, I need to do a transparent label but with a difference. I have drawn on my form a custom background using CreateGraphics as I needed an ellipse looking fill in a rectangle - so the actual...
5
by: Matthew | last post by:
I have Visual Basic .NET 2003, and wanted to create a form that only shows the contents of a label. The form can't have a title bar or border. It seriously needs to just be the text inside the...
1
by: Dean Slindee | last post by:
The code below runs in the form_paint event but changes nothing, anyone got a better idea or why this code is not effective? Imports System.Drawing.Drawing2D Dim ctl As Control Dim str As...
4
by: VB Programmer | last post by:
Using VB.NET 2005 for WinForm App: When I make a label's BackColor Transparent it works when in front of a form's background image. But, when I put the label in front of a picture box with an...
2
by: UJ | last post by:
I have a browser object on a form with a label in front of it. I want the label to be transparent so that you can see what's going on in the browser behind it. When I make the label transparent...
2
by: Martin | last post by:
I've been complaing about the VB2005 Help-Information (or rather the lack of it) before, but when I was looking how to set the backstyle of a label control to "Transparent" I found that the VB2005...
0
by: VorTechS | last post by:
I'm having a problem with an inherited label, applying text rotation to aligned text. If text rotation is applied to the aligned text, the alignment goes 'nuts'. I can find no logic to what is...
9
by: =?Utf-8?B?RnJhbmsgVXJheQ==?= | last post by:
Hi all I have a MDI Container Form, with one label control on the Background of this container form. When I now open a child form, this form is behind the label ... and this looks ugly ... :-))...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.