on 11-09-2009 1:18 PM
Hi Gurus,
I've a small requirement wherein, I need to make the messages being displayed under windows Popup in Bold and red color.
I've used this code at the moment
Affectation des actions aux boutons correspondants
lo_cmp_api = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_cmp_api->get_window_manager( ).
Affichage du message de confirmation dans une popup
lo_popup = lo_window_manager->create_popup_to_confirm(
text = tab_text
button_kind = if_wd_window=>co_buttons_ok
window_title = lv_header
close_button = abap_false
message_type = if_wd_window=>co_msg_type_warning
window_position = if_wd_window=>co_center ).
lo_popup->open( ).
EXIT.
Thanks for advance!
Regards,
Micaela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Priya,
before all, thanks for your response!
This thread talk about change the style in all message on the site. I just need change the style in only one popup message. Is like a error message and the key user want to see in bolt and red to capture the attention of the client.
just in only one and in popup way.
Thanks for advance!!
Rgds
Micaela
Hi,
in the interface IF_WD_WINDOW there is a method SET_MESSAGE_DISPLAY_MODE.
check if this may help you .
Priya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use report_Attribute_error_message method to make message text and field binded to attribute as Red in Color.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.