1. David Vasconcelos
  2. PowerServer 2020 or older (Obsolete)
  3. Wednesday, 7 August 2019 18:44 PM UTC

Picture control property powertiptext in Web.  "New line/char return" does not work.

Example: PowerBuilder Classic

p_object.powertiptext = 'line 1~nline2'

In Classic looks like this

line 1

line 2

IN WEB

 line 1 line 2

 

Is '~n', char(13) or Char(10) not supported for this property WEB or is this a bug?

 

Environment

PB 2017R3, Powerserver 2017, Win 10

 

David Vasconcelos Accepted Answer Pending Moderation
  1. Wednesday, 7 August 2019 19:39 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Thanks for the info Roland and Chris, but.... neither suggestion worked..

Comment
  1. Chris Pollach @Appeon
  2. Wednesday, 7 August 2019 20:04 PM UTC
That would be a bug if ~r does not work. I'm not on my PC otherwise, I'd check PS2019 for you.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 7 August 2019 19:21 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

Hi David;

 ~n is for printing. Just use ~r

Regards ... Chris

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 7 August 2019 19:00 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 3

In HTML the newline is represented by BR tag. If it isn't converting ~n then it is likely a bug.

Check to see what happens with ~r~n

 

Comment
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.