Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 483
  • Last Modified:

Transparent Textbox Howto??

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
rmichels
Asked:
rmichels
  • 3
  • 3
1 Solution
 
amebaCommented:
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
 
rmichelsAuthor Commented:
Thanks..lots'o good information in that question thread.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
InteqamCommented:
welcome , i had the same problem that you wanted to be solved

0
 
rmichelsAuthor Commented:
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
 
rmichelsAuthor Commented:
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
 
InteqamCommented:
sorry , i can't help
:0)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now