Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get multi lines text using Tool Tip

 
Bal Sharma
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everybody:
I want multi lines text using Tool Tip. It is not letting
me do that. I used �\n� end of line break it gives me square block. How to get multi line text as tool tip? Give me some clue.
Thanks in advance for response. Happy Holiday! -Bal
 
swayam chintamani
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi BalSharma
Did you try using html to set tooltip text?
Try the following
component.setToolTipText("<html> text for line 1 <br>
text for line 2 <br>
text for line 3");
[ January 06, 2002: Message edited by: swayam chintamani ]
 
Bal Sharma
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks swayam:
I got that. -Bal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic