Solved

Transparent Textbox Howto??

Posted on 1998-12-19
7
479 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month5 days, 2 hours left to enroll

635 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