is there a winform label control
-
is there a winform label control that can support HTML tags? I dont want to use richtextbox.:) I have no special talents, I am only passionately curious.Everything that can be counted does not necessarily count; everything that counts cannot necessarily be counted" -(Albert Einstein)
-
is there a winform label control that can support HTML tags? I dont want to use richtextbox.:) I have no special talents, I am only passionately curious.Everything that can be counted does not necessarily count; everything that counts cannot necessarily be counted" -(Albert Einstein)
From what i understand, you need a label control and not a textbox. There is no inbuilt control for that for winforms as such. However, on similar lines, you can use this one by Palomraz http://www.codeproject.com/vb/net/rtflabelcp.asp Doe that solve your purpose, or am I not near your question?
Excelsior Arjun Bahree "By The Might of Mjolnir" I Came! I Coded! I Conquered!
-
From what i understand, you need a label control and not a textbox. There is no inbuilt control for that for winforms as such. However, on similar lines, you can use this one by Palomraz http://www.codeproject.com/vb/net/rtflabelcp.asp Doe that solve your purpose, or am I not near your question?
Excelsior Arjun Bahree "By The Might of Mjolnir" I Came! I Coded! I Conquered!
thanks for the reply :) i have already seen that solution and it seems you have to call an .rtf file to display as the label content. what i wanted is a simple label control that can support HTML tag so when i do this for example: The total transaction for this account is 100,000.00, please be notified. so by doing this i can only select the portion of the sentence to be bold or colored. I have no special talents, I am only passionately curious.Everything that can be counted does not necessarily count; everything that counts cannot necessarily be counted" -(Albert Einstein)
-
thanks for the reply :) i have already seen that solution and it seems you have to call an .rtf file to display as the label content. what i wanted is a simple label control that can support HTML tag so when i do this for example: The total transaction for this account is 100,000.00, please be notified. so by doing this i can only select the portion of the sentence to be bold or colored. I have no special talents, I am only passionately curious.Everything that can be counted does not necessarily count; everything that counts cannot necessarily be counted" -(Albert Einstein)
OK now i understand. So for this you can override the label control, and use the EmbedHTML/MapHTML script display inline HTML, which is what RichTextBox uses internally.
Excelsior Arjun Bahree "By The Might of Mjolnir" I Came! I Coded! I Conquered!
-
OK now i understand. So for this you can override the label control, and use the EmbedHTML/MapHTML script display inline HTML, which is what RichTextBox uses internally.
Excelsior Arjun Bahree "By The Might of Mjolnir" I Came! I Coded! I Conquered!
can you please point me to a link or a demo sample on how to do this? :) or by using the EmbedHTML/MapHTML script display inline HTML for richtextbox. thanks a lot
-
can you please point me to a link or a demo sample on how to do this? :) or by using the EmbedHTML/MapHTML script display inline HTML for richtextbox. thanks a lot
OK. The way I did it was by hosting an .htc inside my custom control. This HTc did the trick of acting like a label.
Excelsior Arjun Bahree "By The Might of Mjolnir" I Came! I Coded! I Conquered!