• 0

[VB.NET] Multicolor label ?


Question

Hello,

I want to have multiple colors in a label ( black and red for the required * star ).. I tried to create a RichTextBox with no border/ReadOnly=true/Enabled=False .. and format the text through code, it worked. But sadly I can't change the BackColor of "Disabled" Controls.

I can put multiple labels but that would be a bit silly. Anybody knows a solution for this?

Link to comment
https://www.neowin.net/forum/topic/759484-vbnet-multicolor-label/
Share on other sites

9 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.