on 05-15-2007 10:39 AM
Hello,
does anyone of you know how to predefine the position, height and width when creating an external window from WD ABAP? I use the method IF_WD_WINDOW_MANAGER=>CREATE_EXTERNAL_WINDOW to open the external window. In the similar method IF_WD_WINDOW_MANAGER=>CREATE_POPUP_TO_CONFIRM there are some useful importing parameters like WINDOW_POSITION, WINDOW_WIDTH, WINDOW_HEIGHT I am missing in CREATE_EXTERNAL_WINDOW . I use the following code:
data: lo_cmp_api type ref to if_wd_component,
lo_window_manager type ref to if_wd_window_manager,
lo_ext_win type ref to if_wd_window,
lv_url type string.
lv_url = [...]
lo_cmp_api = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_cmp_api->get_window_manager( ).
lo_ext_win = lo_window_manager->create_external_window(
url = lv_url
title = 'My Title' ).
lo_ext_win->open( ).
Thanks a lot and best regards
Michael Umlauff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Heidi,
perfect - now I have found the solution:
[...]
lo_ext_win->set_window_size(
EXPORTING
width = '1280'
height = '1024' ).
Thanks a lot
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
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.