on 12-03-2009 1:45 PM
Hello Gurus,
I have a question regarding modal popup window.
Below is my code in ComponentController:
DATA window_manager TYPE REF TO if_wd_window_manager.
DATA window TYPE REF TO if_wd_window.
window_manager = wd_this->wd_get_api( )->get_window_manager( ).
window = window_manager->create_window( 'WIN' ).
window->open( ).
Here, i'm opening the new window. I have to open it with option RESIZABLE = FALSE.
Unfortunately i can't do it and my window can be resized via minimize/maximize buttons and via mouse.
How to prohibit such a possibility?
p.s. i can't use window->set_is_resizable()
Thank you,
Yury
Hi Yury,
Please check the below link:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90b46fb9-e48f-2c10-eaa8-cb47d9c91dce
Regards,
Vikrant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
try this code
data lo_window_manager type ref to if_wd_window_manager.
data lo_api_component type ref to if_wd_component.
data lo_window type ref to if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW
EXPORTING
URL = ' ' // ur URL here
MODAL = ABAP_TRUE
HAS_MENUBAR = ABAP_TRUE
IS_RESIZABLE = ABAP_FALSE
HAS_SCROLLBARS = ABAP_TRUE
HAS_STATUSBAR = ABAP_TRUE
HAS_TOOLBAR = ABAP_TRUE
HAS_LOCATION = ABAP_TRUE
RECEIVING
WINDOW = lo_window.
lo_window->open( ).
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I think when you use the above methd for resibale...then you need to explicitly specify teh width and height of the window..
Right...
Please test it out..
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.