Solved

Transparent Textbox Howto??

Posted on 1998-12-19
7
475 Views
Last Modified: 2013-12-25
Is there anyway to create a transparent text box?  I want the user to be able to enter text (as in a text box or Rich Text Box), but the background must show through.  I know you can create tranparent user controls, but text boxes on the control are still opaque.
0
Comment
Question by:rmichels
  • 3
  • 3
7 Comments
 
LVL 15

Expert Comment

by:ameba
ID: 1489135
Create tranparent user controls, with Textbox, Label and Image Controls.
When it gets focus, set Textbox visible.
When user leaves it, hide Textbox, and show Label and Image (as border).
0
 
LVL 7

Accepted Solution

by:
Inteqam earned 100 total points
ID: 1489136
0
 
LVL 3

Author Comment

by:rmichels
ID: 1489137
Thanks..lots'o good information in that question thread.
0
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
LVL 7

Expert Comment

by:Inteqam
ID: 1489138
welcome , i had the same problem that you wanted to be solved

0
 
LVL 3

Author Comment

by:rmichels
ID: 1489139
I tried to implement, based on the other message thread.  But I am using an RTF control.  I want the background to be transparent, but the text to show through..  I have not been able to keep the text from disappearing.  Any ideas?
0
 
LVL 3

Author Comment

by:rmichels
ID: 1489140
Maybe a little bit more information will help, or you would point me in another direct...or I'll post another question.

The user of my program will drop RTF boxes on a form (sort of like VB in design mode).  They need to be able to edit them, but they will be overtop a bitmap.  Once they have entered the data, I want the RTF control to go away, but the text (as RTF formatted) to remain.  This is to support printing on pre-printed paper.

I've got everything working except for the transparent  aspect.  I'm considering have a toggle.  Show background or not.  If not showing background, they can't edit the control, and maybe I can grab the bitmap from a printer DC and show it on the form. I'm going to try that route, but if you have any ideas let me know!
0
 
LVL 7

Expert Comment

by:Inteqam
ID: 1489141
sorry , i can't help
:0)
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to open Waze.com/livemap from address saved in DB? 26 190
Microsoft Access combo box help 2 47
Hide vba in gp 7 95
Recommendation vb6 to vb.net or others 14 150
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question