Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Multiple Lines in a ToolTextTip

Multiple Lines in a ToolTextTip

Multiple Lines in a ToolTextTip

I'm trying to get multiple lines in a ToolTextTip.

I've seen it done before so I know it can be done the question is how? You cannot use VbCrLf because that just shows up as lil black boxes. If anyone knows how or if its an API call (and which) any help would be appreciated :)



RE: Multiple Lines in a ToolTextTip


Haven't tried this in your situation, so don't expect a lot.

There have been instances when I've had no luck with 'VBCrLf', but _have_ had success with 'chr$(10) & chr$(13)'. Note that the chr$() order is particular - 'chr$(13) & chr$(10)' is _not the same, and mostly wont' work, but 'chr$(10) & chr$(13)' has worked for me very time to date.

(If you're unfamiliar with the codes, chr$(10) is a linefeed, and chr$(13) is a carriage return, and this does work differently on a Unix-flavor box, where a LF (actually NL for NewLine) substitutes for the DOS LF-CR pair. DOS uses the CR to provide emphasized print by returning to the start of the line, while LF 'advances' the 'printhead' one line.)

Make a good day . . .
. . . barn

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close