Hi there. I know I can make a form transparent by setting the transparent
color, opacity, etc. Is there a way of making the background of a label and
the background of a picturebox transparent also, so that I can place some
text on top of an image (seing the image behind the text instead of the gray
box of the label) and showing to the user only the image without the
background of the picturebox or form, and the text over it?
Any Ideas? I that actually possible?
Thanks in advance
Ignacio Domínguez 3 36042
yes it is possible
"Ignacio Domínguez" <ig*******@hotm ail.com> wrote in message
news:%2******** **********@TK2M SFTNGP10.phx.gb l... Hi there. I know I can make a form transparent by setting the transparent color, opacity, etc. Is there a way of making the background of a label
and the background of a picturebox transparent also, so that I can place some text on top of an image (seing the image behind the text instead of the
gray box of the label) and showing to the user only the image without the background of the picturebox or form, and the text over it?
Any Ideas? I that actually possible?
Thanks in advance
Ignacio Domínguez
there is 2 thig to set.
SetStyle(Contro lStyles.Opaque, false);
BackColor(aTran sparentColor);
"Ignacio Domínguez" <ig*******@hotm ail.com> wrote in message
news:%2******** **********@TK2M SFTNGP10.phx.gb l... Hi there. I know I can make a form transparent by setting the transparent color, opacity, etc. Is there a way of making the background of a label
and the background of a picturebox transparent also, so that I can place some text on top of an image (seing the image behind the text instead of the
gray box of the label) and showing to the user only the image without the background of the picturebox or form, and the text over it?
Any Ideas? I that actually possible?
Thanks in advance
Ignacio Domínguez
Thanks for the quick answer!!!Unfort unately it's not working as expected.
I'm able to make the labels transparent but they're too transparent! ;)
Now the label placed over the image creates a "hole" in the image. I can see
not only what is behind the label, but also what is behind the entire form.
I wanted to be able to see the image behind the label and whatever was
behind the form behind the image. Maybe I'm doing something I'm not supposed
to..
"Lloyd Dupont" <ll***@galador. net> wrote in message
news:em******** *****@tk2msftng p13.phx.gbl... there is 2 thig to set.
SetStyle(Contro lStyles.Opaque, false); BackColor(aTran sparentColor);
"Ignacio Domínguez" <ig*******@hotm ail.com> wrote in message news:%2******** **********@TK2M SFTNGP10.phx.gb l... Hi there. I know I can make a form transparent by setting the
transparent color, opacity, etc. Is there a way of making the background of a label and the background of a picturebox transparent also, so that I can place
some text on top of an image (seing the image behind the text instead of the gray box of the label) and showing to the user only the image without the background of the picturebox or form, and the text over it?
Any Ideas? I that actually possible?
Thanks in advance
Ignacio Domínguez
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Chris Coho, Jr. |
last post by:
Ok, I'll explain the whole problem because there may be several ways to
solve this and hopefully someone knows one. What I'm doing is creating
a specialty template editor, similar to say a corel draw (but for
specific uses). What I need to be able to do is import graphics and
text and then move them around the background until they are where I
want them and then export it out as an image file.
The problem is that I need to be able to...
|
by: Mr. x |
last post by:
Hello,
I would like that my image's background color will be transparent.
What I have is only paintbrush.
My image is *.jpg format (I have tried to save it as *.gif format, and I got
less quality),
and I don't know how to make the background.
In every tool I open the image (html, flash, etc...) I see the original
background color, and not the transparent color.
|
by: Scott Mackay |
last post by:
Hi,
I'm using visual studio dotnet 2002 programming in vb
can anyone tell me how I can handle the mousedown event for pictureboxes I
create dynamically at runtime?
I've tried setting the mousedown to handle mybase.mousedown but it doesn't
detect the mousedown event until I move out of the pictureboxes I have
created (only works on the part of the form where I don't have any
pictureboxes). I also cannot set the mousedown event to...
|
by: Andrew E Chapman |
last post by:
I am having a problem with pictureboxes being trasnparent to some form
objects, but not others (I want their transparent regions to be transparent
to everything). So, say I have a background image in a picturebox and various
smaller pictureboxes with other images scattered in front of it (let's call
them front images). Each of the front images has a transparent region. The
background shows through these regions quite nicely, but if the...
|
by: Rohan |
last post by:
Hi There,
Is it possible to rotate or resize pictureboxes, labels, textboxes at runtime?
And I even wanted to make textbox and label controls Transperent ?
| |
by: Pascal |
last post by:
Je veux que mes label soit transparent aussi sur mes picturebox alors
j'écris :
i want my labels to be transparent on my pictureboxes so i wrote :
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Label1.Parent = PictureBox1
Label1.BackColor = Color.Transparent
Label2.Parent = PictureBox2
Label2.BackColor = Color.Transparent
|
by: ZikO |
last post by:
Hi.
I've experienced one problem. Im using three froms. Two of them are
maximized, whereas one is normal form with transparency. Transparency stops
working, that is I can see the color which should be the transparency. It is
happaning always when I go to second maximized form, use comboBox and come
back closing second form to first from and use third form with transparency.
Then transparency stops working.
Strange!
|
by: toby |
last post by:
Hi,
After the great help I received to create PictureBox arrays I now have
another problem.
I want to be able to position transparent pictureboxes (with a small
rectangle drawn in them) next to each other. However if they overlap
they do obsure the picturebox underneath, even though the form
background is still visible.
|
by: EntryTeam |
last post by:
I'm writing turn based logic game, and transparency doesn't seen to work right:
screenshot
Person model is .GIF in picturebox, buildings are .GIF in pictureboxes, mainform background is .bmp file.
Model picbox and building picboxes both have
.BackColor = System.Drawing.Color.Transparent;
...set.
How do I get this working as it should be?
|
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: 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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |