Chris E. Miller ToolTip (D1)
jicman
cabrera at wrc.xerox.com
Wed Nov 13 10:58:42 PST 2013
Greetings.
Trying to see if anyone can help with this one...
Chris Miller wrote a wonderful set of libraries for Windows
programming. One of the libraries was a ToolTip library that
when called against an object, when the mouse hovered over that
object, it will display the string that it was set for that
sepcific object. Everything is working fine with the exception
that I would like to break the string set to an specific object
to multiple lines. For example, I have set that ToolTip to be,
a=n (not approved)
o=n (not outlooked)
t>0 (total > 0)
but, when I set it, and have tried multiple ways, they all
display in one line, ie.
a=n (not approved)o=n (not outlooked)t>0 (total > 0)
The code I am using is,
ttip = new ToolTip;
ttip.setToolTip(this, "Testing...");
ttip.setToolTip(find,
r"
a=n (not approved invoices
o=n (not outlooked projects/tasks
"
);
I have also tried to use \n and \r\n. Any other thoughts?
More information about the Digitalmars-d-learn
mailing list