cancel
Showing results for 
Search instead for 
Did you mean: 

Insert line within Checkbox Text

Former Member
0 Kudos

Hello,

I am on EP7.0 ERP05 and NW04s and added a Checkbox in a ESS Application and the text which I set for it is very long and I want to insert a line breakpoint within the Text so that the text after the "." in the first line comes to the next line .......

Any help would be highly appreciated.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

My problem is a little different than yours.

I need to introduce line break to my textedit.

The text is sourced from sap but sap colleage can not added the cr lf characters in the line. So we agreed to use <BR> for new line and I replace the <BR> with \r\n.

The code followed:

String dummy1 = texteditvalue.replaceAll("<BR>",

new Character((char)(13)).toString()+ new Character((char)(10)).toString());

texteditvalue = dummy1;

Hope this help.

yung siu wai

Former Member
0 Kudos

hi,

have u guys tried the "wrapping" property of the text view?

Message was edited by:

anirban ghoshal

Former Member
0 Kudos

Yes. I did try both hard and soft but I couldn't notice any difference.

As I inspected the string I see \r\n so I settled for soft.

yung siu wai