Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Sunday, January 11, 2015 8:45 PM
How can I add underlining and bold to individual letters in a message box or a Tool Tip?
Milt
sirmilt
All replies (2)
Monday, January 12, 2015 6:28 AM ✅Answered | 1 vote
In case of message boxes, I think that you can make your own dialog box and place a Rich textbox (in C# and VB.NET forms it is RichTextBox control), an icon and a button. You can apply various styles: colours, bold, underline etc. It depends on programming technology.
Monday, January 12, 2015 8:22 AM ✅Answered
Hi sirmilt,
According to your description, it seems that you create a windows form app in the VS, am I right?
If yes, could you please tell me you mean that you want to add the underlining and bold in a message box like the following code for the "test": in the Form1.cs.
Private voidbutton1_Click**(object sender,** EventArgs e**)**
**{ **
MessageBox.Show**("test");**
}
If yes, I found that we can not add the underlining and bold for the test in a message box.
So you can try the Viorel_ suggestion to add other type control in the form and then set the underlining and bold for the text.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.