R Rigga Jan 14, 2004 #2 Dim tt As New ToolTip tt.SetToolTip(YourControl, "Text Line1" + ControlChars.CrLf + "Text Line2")
A Arun Srinivasan [Syncfusion] Jan 14, 2004 #3 Hi Amit, Refer to the following FAQ in George Shepherd's Windows Forms FAQ: <http://www.syncfusion.com/FAQ/WinForms/FAQ_c62c.asp#q629q> Regards, Arun
Hi Amit, Refer to the following FAQ in George Shepherd's Windows Forms FAQ: <http://www.syncfusion.com/FAQ/WinForms/FAQ_c62c.asp#q629q> Regards, Arun
I Igor Apostoloski Jan 14, 2004 #4 just add vbnewline in the string ie: tooltip1.settooltip(mycontrol,"first line" & vbnewline & "second line")
just add vbnewline in the string ie: tooltip1.settooltip(mycontrol,"first line" & vbnewline & "second line")
H Herfried K. Wagner [MVP] Jan 14, 2004 #5 * Amit Khatu said: How to display multiline tooltips for any control at run time ? Click to expand... Just include a 'ControlChars.NewLine' or "\r\n" in your string.
* Amit Khatu said: How to display multiline tooltips for any control at run time ? Click to expand... Just include a 'ControlChars.NewLine' or "\r\n" in your string.
D Donald Smith Jan 29, 2004 #6 VB: tooltip.SetToolTip(Control, "Line1" & Chr(13) & "Line") C# tooltip.SetToolTip(Control, "Line1\nLine")
VB: tooltip.SetToolTip(Control, "Line1" & Chr(13) & "Line") C# tooltip.SetToolTip(Control, "Line1\nLine")
S Saurabh Jan 29, 2004 #7 I would not add a newline using "\n" or for that matter even using "\r\n", rather you can make use of the Environment.NewLine --Saurabh
I would not add a newline using "\n" or for that matter even using "\r\n", rather you can make use of the Environment.NewLine --Saurabh