Making a TextBox Transparent [duplicate]
-
19-09-2019 - |
Question
This question already has an answer here:
- Transparency for windows forms textbox 5 answers
I have a TextBox in my Form that I want to let it be tranparent and show a picture that is in a PictureBox, behind it, but how I can do this? Thanks.
Solution
Not too complex, after some searching on StackOverflow, I found this answer.
Basically, you need to subclass TextBox
and in its constructor add the appropriate style.
Final stpe, set its BackColor
to Transparent. Hope it helps.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow