|
Hi,
How to set Label without Background? Or just text, LinkButton...
anything...
Thanks.. |
| gb_007 Thursday, June 11, 2009 10:00 PM |
 Please view the above image of a Form that was created with a Background Image and a Label with BackColor = Transparent. So, you wish to something like this? Right?
Regards,
Lakra :)
- If the post is helpful or answers your question, please mark it as such. - Marked As Answer bygb_007 Friday, June 12, 2009 9:57 AM
-
|
| Abhijeet Lakra Friday, June 12, 2009 8:35 AM |
You can achieve this with charm. Put the Label first in a Panel-control. make the Panel control of the same size you want for the Label.
Set the BackColor for Label as Transparent. After placing the Label in the Panel, you can Dock the Label to Panel as Fill. Now, give a BackgroungImage to the Panel of your choice that you wanted to give for the Label. Done. Regards,
Lakra :)
- If the post is helpful or answers your question, please mark it as such. |
| Abhijeet Lakra Friday, June 12, 2009 1:00 AM |
It seems like I have to trick it to do that...
isnt it a regular way, with a control? just setting the bg color to None? or something like that?
Thanks.. |
| gb_007 Friday, June 12, 2009 5:25 AM |
Sorry, I misread. I thought- you need a Label with a background. And, you want it without a background. OK.
Set the Label's property- BackColor = "Transparent".
Regards,
Lakra :)
- If the post is helpful or answers your question, please mark it as such. |
| Abhijeet Lakra Friday, June 12, 2009 7:06 AM |
Still I'm getting a weird color,
my form BackGround is an Image,
So I want the text BackGround will be the Image, but instad of it I'm getting a type of white color.
What to do?
Thanks..
|
| gb_007 Friday, June 12, 2009 7:11 AM |
Quoting: "So I want the text BackGround will be the Image"
So, want a background image on label or not? Could you share the image of your form to understand better? Regards,
Lakra :)
- If the post is helpful or answers your question, please mark it as such. |
| Abhijeet Lakra Friday, June 12, 2009 7:24 AM |
Sorry,
I meant that the backGround will be the BackGround of the Form,
and in the Form there is an Image.
I just wonna add some text witout backgourd to it.
Understand?
Thanks.. - Marked As Answer bygb_007 Friday, June 12, 2009 9:57 AM
- Unmarked As Answer bygb_007 Friday, June 12, 2009 9:57 AM
-
|
| gb_007 Friday, June 12, 2009 7:55 AM |
 Please view the above image of a Form that was created with a Background Image and a Label with BackColor = Transparent. So, you wish to something like this? Right?
Regards,
Lakra :)
- If the post is helpful or answers your question, please mark it as such. - Marked As Answer bygb_007 Friday, June 12, 2009 9:57 AM
-
|
| Abhijeet Lakra Friday, June 12, 2009 8:35 AM |
Thanks,
I fix it.
my mistake... it was a pictureBox image not a background Image (now it is..)
Thanks.. |
| gb_007 Friday, June 12, 2009 9:57 AM |