Solved

Transparent Textbox Howto??

Posted on 1998-12-19
7
477 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

Technology Partners: 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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

740 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