Hi, Is there a way to make the lable background transparent? I though I was
about to do this in Access 2.0... but its been a few years...
Brian 5 1164
Ok, I can get this to work with a group object.. but not a picture box...
anyone know why?
"Brian S." <bs********@com munity.nospamwr ote in message
news:um******** *****@TK2MSFTNG P05.phx.gbl...
Hi, Is there a way to make the lable background transparent? I though I
was about to do this in Access 2.0... but its been a few years...
Brian
Hi Brian,
In the properties picker, select Web , then select Transparent. Or in code,
Label1.BackColo r = Color.Transpare nt
"Brian S." <bs********@com munity.nospamwr ote in message
news:um******** *****@TK2MSFTNG P05.phx.gbl...
Hi, Is there a way to make the lable background transparent? I though I
was about to do this in Access 2.0... but its been a few years...
Brian
Bill I can get this working i with a groupbox, but for some reason i can not
get it to work with a picture box.... where is the code I was using
this works....
me.label1..Pare nt = Me.GroupBox1
me.label1.BackC olor = Color.Transpare nt
This does not work...
me.label1..Pare nt = Me.picturebox1
me.label1.BackC olor = Color.Transpare nt
"Bill McCarthy" <Bi**@N0SPAM.co mwrote in message
news:D0******** *************** ***********@mic rosoft.com...
Hi Brian,
In the properties picker, select Web , then select Transparent. Or in
code, Label1.BackColo r = Color.Transpare nt
"Brian S." <bs********@com munity.nospamwr ote in message
news:um******** *****@TK2MSFTNG P05.phx.gbl...
>Hi, Is there a way to make the lable background transparent? I though I was about to do this in Access 2.0... but its been a few years... Brian
Hi Brian,
Ah ... PictureBox in dotnet is not a container. I think you are thinking
like VB6. In dotnet use a Panel for a container control.
"Brian S." <bs********@com munity.nospamwr ote in message
news:e5******** ******@TK2MSFTN GP05.phx.gbl...
Bill I can get this working i with a groupbox, but for some reason i can
not get it to work with a picture box.... where is the code I was using
this works....
me.label1..Pare nt = Me.GroupBox1
me.label1.BackC olor = Color.Transpare nt
This does not work...
me.label1..Pare nt = Me.picturebox1
me.label1.BackC olor = Color.Transpare nt
"Bill McCarthy" <Bi**@N0SPAM.co mwrote in message
news:D0******** *************** ***********@mic rosoft.com...
>Hi Brian,
In the properties picker, select Web , then select Transparent. Or in code, Label1.BackColo r = Color.Transpare nt
"Brian S." <bs********@com munity.nospamwr ote in message news:um******* ******@TK2MSFTN GP05.phx.gbl...
>>Hi, Is there a way to make the lable background transparent? I though I was about to do this in Access 2.0... but its been a few years... Brian
Brian,
The background from the Picturebox is shadowed. You see the background in
your attributes because it is inherited from controls, but you cannot use
it. (I use the picturebox often as sample when somebody ask if you can hide
attributes from the attribute box which are inheritted, you cannot)
Cor
"Brian S." <bs********@com munity.nospamsc hreef in bericht
news:e5******** ******@TK2MSFTN GP05.phx.gbl...
Bill I can get this working i with a groupbox, but for some reason i can
not get it to work with a picture box.... where is the code I was using
this works....
me.label1..Pare nt = Me.GroupBox1
me.label1.BackC olor = Color.Transpare nt
This does not work...
me.label1..Pare nt = Me.picturebox1
me.label1.BackC olor = Color.Transpare nt
"Bill McCarthy" <Bi**@N0SPAM.co mwrote in message
news:D0******** *************** ***********@mic rosoft.com...
>Hi Brian,
In the properties picker, select Web , then select Transparent. Or in code, Label1.BackColo r = Color.Transpare nt
"Brian S." <bs********@com munity.nospamwr ote in message news:um******* ******@TK2MSFTN GP05.phx.gbl...
>>Hi, Is there a way to make the lable background transparent? I though I was about to do this in Access 2.0... but its been a few years... Brian This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: localhost |
last post by:
How can I style a TextBox so it appears like a label when rendered?
Thanks.
|
by: NancyASAP |
last post by:
I have a label on my ASP.NET form. It has a cssclass that includes a
background color.
I am dynamically putting text in this label. The text contains some
embedded html (I want to display part of label contents as a list so it
uses <ul> and <li>). The format of the string assigned to label text
looks like this:
"An error occurred:<ul><li>message 1</li><li>message2</li></ul>"
The label renders in both browsers the same. Here's the...
|
by: CharlieOz1 |
last post by:
Hi,
I am having trouble with the datagrid.
I have a label in an ItemTemplate.
I have a simple function in the label which I have tested and works
(the function does pass back a system.drawing.colour)
I do not know the syntax to pass "theID" into this function!
I am trying stuff like
|
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 background colour of the form is still set to "control" colour.
If I use the background transparent setting instead of seeing my drawn on background and it's gradient i see the forms background colour. If the label was on a solid coloured bit of...
|
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 label.
Can this be done?
Matthew
| |
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 documentation has reached
an all-time low (please note the part about the z-order):
MSDN:
In Visual Basic 6.0, the BackStyle property of the Label control determines
whether the label had a transparent background. Setting the BackStyle...
|
by: cnixuser |
last post by:
Hello, I am having a problem that I believe is related to the way a stream reader object looks for a text file by default. What I am doing is using a StreamReader object to read the text of a text file which includes some html code to populate html formatted content as the text of an asp:label (<asp:label>). The reading of the text file itself goes just fine ;however, this only occurs when I use an absolute file path which will not work of...
|
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 ... :-))
When I set the label with "SendToBack", it completely disapears.
I also tried to set the child form like "BringToFront" but this also does
not help.
|
by: Czechtim |
last post by:
Hello, I have problem with databinding. I created small application using structure that I need to demonstrate problem.
I need to change content of label when changing content of property "Promena". I change content of property "Promena" from "Origin text" to "Changed text" using thread but content of label is still the same - databinding isn´t working according to my vision.
Does somebody know, please, why content of label doesn´t change...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |