Making specific Text Boldefaced in a TextBox

前端 未结 7 1977
情歌与酒
情歌与酒 2020-11-28 12:37

Hi I currently have a texbox that prints out info to the user when they press diffrent buttons. I was wondering if there was a way to make only some of my text bolded while

7条回答
  •  庸人自扰
    2020-11-28 13:14

    You will need to use a RichTextBox to achieve this:

    
      
        
          Your Name:
          
        
      
    
    

    But why would you want "Your Name" to be editable? Surely you would want it as a separate, readonly, label?

    
        
        
    
    

提交回复
热议问题