on 08-01-2007 9:49 AM
Hi
I have created a new window.
wd_this->mo_help_window = lo_window_manager->create_window(
window_name = 'W_HELP'
message_display_mode = if_wd_window=>co_msg_display_mode_selected
close_button = abap_false
button_kind = if_wd_window=>co_buttons_close
message_type = if_wd_window=>co_msg_type_none
).
wd_this->mo_help_window->subscribe_to_button_event(
button = if_wd_window=>co_button_close
action_name = 'CLOSE_PDF'
action_view = lo_view_controller
is_default_button = abap_true ).
The window is not closing after first click on close button. Where is my mistake?
Best regards,
Marcus
Hi
close_button = abap_false
should be abap_true right?
Thanks
Anzy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If set enabled = false on propertiy of ROOTUIELEMENTCONTAINER of the view, it works perfect.
The properties of property of the Interactive Form makes no differenz.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
as with the close button u have subscribe a event handler ... name 'close_pdf ' .so in that method close the window using wd_this->mo_help_window->close( ).
Hope it will solve ur problem.
Regards
Yashpal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.