Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Wordwrap on ToolTipText Property 1

Status
Not open for further replies.

LVDr

Programmer
Dec 6, 2004
2
US
Can anyone tell me how to wordwrap the ToolTipText property in VB6? I cannot find any such discussion in my hard copy references. While I try to keep my text strings as short as possible, they sometimes stretch beyond the small-size forms I use. Is there also a way in which to easily change the font & color of this text?
 
VB's tooltip implementation does not wordwrap. To get around this you have to write your own tooltips code using the tooltips class in the common controls library. There are numerous examples of how to do this on the Internet. Here's one example:
 
Thanks, strongm. I appreciate your response and will give it a try.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top