Solved

Transparent Textbox Howto??

Posted on 1998-12-19
7
471 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now