on 01-24-2012 2:30 PM
Hi,
Is there an option to create your own text layout or label layout? like Emphasized / light...
Or how can you get the option strikethrough within Web Dynpro?
If a strike or underline is possible in WDA please tell me.
Regards,
Michael
Hi,
There is no option for this but if I only this as work around for this.
Create an image for this with text and strike and display that strike through text as Image using Image UI element.
Hope this helps.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes i couldnt find the strikethrough anywhere in between the tags and i already found those documentations about formatted text.
Thats why i asked it in a seperate thread if the strike was impossible, maybe that i overlooked it somewhere.
But thanks to confirm it
Regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seems like these formatting are not available
http://help.sap.com/saphelp_nw04s/helpdata/en/08/5696420cc2c56ae10000000a155106/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Micheal,
I have tried emphasizing, underlining words and that is only possible in UI element "Formatted Text View".
Class cl_wd_formatted_text can be used for thsi purpose. You can check its methods.
Below is the code i used to emphaize a string displayed in formatted text view.
data f1 type ref to cl_wd_formatted_text.
f1 = cl_wd_formatted_text=>make_text(
inner_text = LV_SEARCH_STRING "#EC NOTEXT
tag = cl_wd_formatted_text=>e_tag-em
).
@TODO fill attribute
lv_test = LV_SEARCH_STRING.
set single attribute
LO_EL_CONTEXT->SET_ATTRIBUTE(
NAME = `TEST`
VALUE = f1->m_xml_text ).
Hope this helps.
Bhanu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.