1. Daniel Agudelo
  2. PowerBuilder
  3. Wednesday, 12 February 2020 14:39 PM UTC

Hi Guys!

I need to know if is possible to do break a long text in multi lines in a tooltip

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 12 February 2020 18:07 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Daniel;

  FYI ...

HTH

Regards ... Chris

Comment
  1. Daniel Agudelo
  2. Wednesday, 12 February 2020 19:10 PM UTC
Hi Chris,

Thanks, was so obvius, but i never thinked in to do so haha

Thank you so much
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 12 February 2020 19:36 PM UTC
Once in a while I also find these HaHa moments myself in PB ... and I've been using PB since Oct 1989 - the Alpha 0.9 release! ;-)
  1. Helpful
There are no comments made yet.
Michael Kramer Accepted Answer Pending Moderation
  1. Wednesday, 12 February 2020 18:52 PM UTC
  2. PowerBuilder
  3. # 1

I can enter and display tooltips including line breaks if I enter as:

Hi<Ctrl+Enter>
There<Ctrl+Enter>
Everyone!

Some time ago I wrote a function to break tooltip into lines of max 100 chars. It inserted "~r~n" at latest space before the 100th character in "current" line.

HTH /Michael

Comment
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Wednesday, 12 February 2020 18:00 PM UTC
  2. PowerBuilder
  3. # 2

Is the MaxWidth property of the TOOLTIP property of the DW active yet?
If so, then use that, else there's no way I know of to control the width of a ToolTip except by controlling the length of your string/tip.


Olan

Comment
  1. Roland Smith
  2. Wednesday, 12 February 2020 19:17 PM UTC
Sybase then would never go back to complete the new feature, instead they would move on to something else.
  1. Helpful
  1. mike S
  2. Wednesday, 12 February 2020 20:03 PM UTC
LOL
  1. Helpful
  1. Olan Knight
  2. Wednesday, 12 February 2020 23:53 PM UTC
I remember those! :)
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.