Transparency in Txxtbox
-
-
Hi, when we set the backcolor of a panel to Transparent,it works but when we hover or put the panle on a TextBox the backcolor shows as Control BackColor and no more transparency is supported. How can we enable the trasparency of the textbox? thanks
Transparent isn't transparent. Setting the BackColor of a control to Transparent tells it to take on the background properties of its parent container. Controls sitting behind your Panel will NOT show through the panel.
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Hi, when we set the backcolor of a panel to Transparent,it works but when we hover or put the panle on a TextBox the backcolor shows as Control BackColor and no more transparency is supported. How can we enable the trasparency of the textbox? thanks
Not sure what you mean. What are you trying to achieve? Maybe you want to send the Panel to the back? Or bring the TextBox to the front?
-
Not sure what you mean. What are you trying to achieve? Maybe you want to send the Panel to the back? Or bring the TextBox to the front?
well,i have a textbox and i want to show something over it ,using label didn't solve my problem because when i put the label on the textbox,it covers textbox,although i have set the transparency of the label.I tried to use panel but it didn't work the same way. Thanks
-
Transparent isn't transparent. Setting the BackColor of a control to Transparent tells it to take on the background properties of its parent container. Controls sitting behind your Panel will NOT show through the panel.
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
WPF (Windows Presentation Foundation).
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007