Transparent label Ctrl [modified]
-
Dear friends, I placed an image on the form and on one corner of that image, i placed a
label control
. I am displaying current date on thelabel control
. Problem is that the background color of the label is looking very ugly as it hides some portion of the image. I want to make thelabel control
transpaent so that only text of the label remains visible and the image behind it not gets hidden. How can i do so ? Imtiaz -
Dear friends, I placed an image on the form and on one corner of that image, i placed a
label control
. I am displaying current date on thelabel control
. Problem is that the background color of the label is looking very ugly as it hides some portion of the image. I want to make thelabel control
transpaent so that only text of the label remains visible and the image behind it not gets hidden. How can i do so ? Imtiaz -
Hello, At System.Windows.Forms.Label BackgroundColor Property, its possible to set transparent I think. All the best, Martin
-
Dear friends, I placed an image on the form and on one corner of that image, i placed a
label control
. I am displaying current date on thelabel control
. Problem is that the background color of the label is looking very ugly as it hides some portion of the image. I want to make thelabel control
transpaent so that only text of the label remains visible and the image behind it not gets hidden. How can i do so ? Imtiaz -
Hello Again, You could use a Panel with his Background Image Property, and set the Label BackgroundColor to Transparent. I tried it. All the best, Martin
If i use panel, then how do i display text on the panel. There is no 'Text' property associated with the panel ? Imtiaz
-
If i use panel, then how do i display text on the panel. There is no 'Text' property associated with the panel ? Imtiaz
-
If i use panel, then how do i display text on the panel. There is no 'Text' property associated with the panel ? Imtiaz
-
If i use panel, then how do i display text on the panel. There is no 'Text' property associated with the panel ? Imtiaz
Set the opacity property of the lable to 0 .This will make the label transperent and will give u the required effect
-
Set the opacity property of the lable to 0 .This will make the label transperent and will give u the required effect
Opcity property is related to Form and not controls. Plz correct me if i am worng. Imtiaz
-
Dear friends, I placed an image on the form and on one corner of that image, i placed a
label control
. I am displaying current date on thelabel control
. Problem is that the background color of the label is looking very ugly as it hides some portion of the image. I want to make thelabel control
transpaent so that only text of the label remains visible and the image behind it not gets hidden. How can i do so ? Imtiaz