In a Windows operating environment vbCrLf is the same as vbNewline - both return ASCII characters 13 and then 10. ToolTip text is intended for a very brief hint, so it doesn't (ordinarily) support multiline.
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
Oh, the underlying tooltip window control quite happily supports multiline tips; for some reason MS felt that VB programmers wouldn't want this functionality.
If you've looked at the solutions given by grommit and stongm you'll see they amount to quite a bit of code. I would be tempted to fake it using a label control in conjunction with another gem from stongm in thread222-416091.
Is the amount ToolTipText short enough to appear in a status bar panel? Personally if I'm curious about a control in a program and there is no ToolTipText pop-up I look for the info in a status bar. It has become second nature for me, and I suspect for many other Windows users as well.
Just a thought, and I agree with you about this forum. Knowlegable users who are willing to post solutions like STRONGM and the other MVPs are a blessing!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.