Chris E. Miller ToolTip (D1)

jicman cabrera at wrc.xerox.com
Thu Nov 14 06:32:09 PST 2013


On Wednesday, 13 November 2013 at 18:58:44 UTC, jicman wrote:
>
> 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?

Does anyone knows if this is even possible?  Thanks.

josé


More information about the Digitalmars-d-learn mailing list