on 01-20-2009 8:02 AM
Hi!
Is there some sort of color picker control for WD?
There is no color picker UI element in the Web Dynpro element set. If you are on 7.01 you could use FlashIslands and pretty easily build a color picker UI element in Adobe Flex.
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 give color to any of your text UI or buttons using the following example .
data: l_amountuielement type ref to cl_wd_text_view,
l_layoutdata type ref to cl_wd_matrix_data,
io_container type ref to cl_wd_uielement_container,
iv_amount type string,
iv_attributevisibility type string,
iv_color type wdy_uie_library_enum_type,
iv_design type wdy_uie_library_enum_type,
iv_indextoinsert type integer ,
iv_id type string.
call method cl_wd_text_view=>new_text_view
exporting
bind_visible = iv_attributevisibility
design = iv_design
text = iv_amount
semantic_color = iv_color -
>eg: '02' for green color
receiving
control = l_amountuielement.
call method cl_wd_matrix_data=>new_matrix_data
exporting
element = l_amountuielement
receiving
control = l_layoutdata.
l_layoutdata->set_h_align( cl_wd_matrix_data=>e_h_align-forced_right ).
io_container->add_child(
exporting
index = iv_indextoinsert
the_child = l_amountuielement ).
Thanks,
Rajkumar.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.