473,396 Members | 2,002 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,396 software developers and data experts.

Transparent TextBox or background image

First off, excuse my English, is an online translation.

Hello. I've been looking for a long time over the Internet how to make a
"textbox" is transparent or having a background image, but I can not find,
just a website that allows a "textbox" is transaprente, but is in C (and not
I have no idea C). The Web is this:

http://www.codeproject.com/KB/edit/T...ntTextBox.aspx

I think that is an interesting feature that microsoft has not ever happened
(or so it seems). Anyway, if someone knows how to convert the C code to
VB.NET since it would be perfect.

Thank you all.
Jul 11 '08 #1
4 13427
On Jul 11, 9:59 pm, Kulber <Kul...@discussions.microsoft.comwrote:
First off, excuse my English, is an online translation.

Hello. I've been looking for a long time over the Internet how to make a
"textbox" is transparent or having a background image, but I can not find,
just a website that allows a "textbox" is transaprente, but is in C (and not
I have no idea C). The Web is this:

http://www.codeproject.com/KB/edit/T...ntTextBox.aspx

I think that is an interesting feature that microsoft has not ever happened
(or so it seems). Anyway, if someone knows how to convert the C code to
VB.NET since it would be perfect.

Thank you all.
You can check this out:
http://www.codeproject.com/KB/edit/a...ndtextbox.aspx

Hope this helps,

Onur Güzel
Jul 11 '08 #2
Hello Kulber,

if it's OK to use a RichTextBox rather than a plain TextBox,
then you might want to have a look here:
http://groups.google.com/group/micro...39d84d5267f255

Please note that for transparancy you cannot expect that you really
"look through" an object but only see the background (image) of it's
container. If you put it over a PictureBox for example, you will find
that the PictureBox is not necessarily updated as you need it. I
encountered this problem and put it (and the background image) onto a panel.

Best regards,

Martin

On 12.07.2008 02:59, wrote Kulber:
First off, excuse my English, is an online translation.

Hello. I've been looking for a long time over the Internet how to make a
"textbox" is transparent or having a background image, but I can not find,
just a website that allows a "textbox" is transaprente, but is in C (and not
I have no idea C). The Web is this:

http://www.codeproject.com/KB/edit/T...ntTextBox.aspx

I think that is an interesting feature that microsoft has not ever happened
(or so it seems). Anyway, if someone knows how to convert the C code to
VB.NET since it would be perfect.

Thank you all.
Jul 11 '08 #3
Also asked by that code for VB.NET that no wise convert from C, and gave me
the answer.

Thanks anyway.

This is the answer (is in Spanish):
.. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .

TEXT IN SPANISH:

Basandome en el link que pones encontre una solucion. Lo probe en VB 2008 y
me parece "bien"

http://www.codeproject.com/KB/edit/a...ndtextbox.aspx

Baja el codigo fuente, es para C# y VB

El codigo fuente es sencillo aunque no se si te sirva ya que ocupas agregar
una referencia a una DLL (que viene incluida en el codigo) y este codigo
para cada TextBox que quieras

Dim TextBox1 As New ZBobb.AlphaBlendTextBox
TextBox1.BackAlpha = 70
TextBox1.ForeColor = System.Drawing.Color.Black
TextBox1.Location = New System.Drawing.Point(106, 48)
TextBox1.Name = "TextBox1"
TextBox1.Size = New System.Drawing.Size(150, 20)
TextBox1.Text = "TextBox1"
Controls.Add(TextBox1)

No se puede indicar (al menos eso vi en el ejemplo) que funcione sobre un
TextBox ya creado, sino creando uno desde 0 con puro codigo

Espero te sirva
Jul 13 '08 #4
I do not really understand that code
Jul 13 '08 #5

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

Similar topics

7
by: Thomas Wieser | last post by:
Hi, my problem: I have some tables with transparent backgrounds, which are changed in colours within a JavaScript DOM function to have a roll-over effect. Now, i can't get them back...
8
by: Grahammer | last post by:
Is it possible to set the background of a usercontrol as transparent? I tried setting the background image of the usercontrol to a transparent GIF, but that caused MAJOR problems. I'm making...
4
by: Andre Nogueira | last post by:
Hi there. I have one question... How can I create a bitmap (programmatically), paint it to a picture box and have a transparent background? I don't know what will be below the picturebox because...
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...
2
by: edoepke | last post by:
VISUAL BASIC ONLY: I have Googled until my fingers are sore. Is there a way to make a ListBox or TextBox control transparent (ie: transparent background)? I know it's a function of Framework that...
11
by: vbt | last post by:
I am having difficult time drawing a image using Visual Studio Image Editor. I can draw the image and save it as .bmp file load it into a pictureBox image but when the program is run the...
9
by: Chuck Anderson | last post by:
Is it possible to overlay a transparent watermark on an image - dynamically? I'd like the result to look like this example: <http://www.cycletourist.com/temp/photo.php> That is a bit of...
3
by: b2bwild | last post by:
Hi everyone :). I quite new in Flash 8 professional edition and I'm trying to Publish a Gif / Png image. I've selected the "Transparent" option in the Publish Settings for Gif but when I publish...
1
by: deshg | last post by:
Hey everyone how are you all doing? I am trying to use the imagerotate GD function to place an image on top of another image at an angle. Obviously when it rotates an image it creates a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
jinu1996
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...
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...

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.