Programmatic newline in tool tip

  • Thread starter Thread starter Dave Holmes
  • Start date Start date
D

Dave Holmes

I am using Access 2002 and am programmatically assigning tool tips to
items in an activeX ListView control, e.g.:

List.ListItems(i).TooltipText = "Blah, blah, blah"

Is there a way to place a newline in the tool tip?
vbCrlf and combinations of chr(13) and chr(10) aren't working for me.

Much obliged.
 
I am using Access 2002 and am programmatically assigning tool tips to
items in an activeX ListView control, e.g.:

List.ListItems(i).TooltipText = "Blah, blah, blah"

Is there a way to place a newline in the tool tip?
vbCrlf and combinations of chr(13) and chr(10) aren't working for me.

Much obliged.

You might have better luck using ControlTipText.
[Controlname].ControlTipText = "Line1." & vbNewLine & "Line2."
 
I believe that will set it for the entire control, not the individual
list items as I am attempting.

fredg said:
I am using Access 2002 and am programmatically assigning tool tips to
items in an activeX ListView control, e.g.:

List.ListItems(i).TooltipText = "Blah, blah, blah"

Is there a way to place a newline in the tool tip?
vbCrlf and combinations of chr(13) and chr(10) aren't working for me.

Much obliged.

You might have better luck using ControlTipText.
[Controlname].ControlTipText = "Line1." & vbNewLine & "Line2."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top