on 02-27-2009 11:58 AM
Hi
How to make part of text as bold or differnt color in text edit-webdynpro abap.
If we can make it bold then it is ok....or else atleast we have make it into some other color of part of text.
Note:
I tried with class char utilities and able to solve the issues like new line and carriage return....but could
not make this bold or different color.
Also when I use formatedtextview, I can able to solve this bold issue but I cannot solve this newline or carriage return issue...?
Can any one help on this ?
Thanks in advance
regards,
Pons
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to use the FormattedText UI elements for such a thing. That is their purpose.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3b/219141c1d0ae5fe10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/2772f505605447e10000000a422035/frameset.htm
Supported Tags:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/08/5696420cc2c56ae10000000a155106/frameset.htm
What kind of problem did you have with the Formatted Text? Line breaks? Did you try using the br tag?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi You can try playing with the CONTENT that you are passing to TextEdit or formatter text view for display by adding cl_abap_char_utilities=>cr_lf and *cl_abap_char_utilities=>horizontal_tab *
Work around: on textView UI element if you chose the DESIGN as Header1 or Header2 or Header3
to give large font & bold view
Greetings
Prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ponnuchamy
There is neither any design nor any semanticColor property associated with text edit UI element. So I don't think it is possible to make text bold or colored in text edit.
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.