on 04-21-2009 10:59 AM
hi ,all
i try to open a dialog which is a normal view,
here is the code i use,
CALL METHOD cl_wdr_runtime_services=>display_view_in_popup
EXPORTING
component = component
target_view_name = 'V_BP_MAIN'
target_window_name = 'W_BP_MAIN'
MODAL = ABAP_TRUE
window_title = ''
close_button = abap_true
IMPORTING
popup_window = popup_window
the first time the window i opened displayed is centered ,but if i open it twice or more
the window is in the left corner of screen,i tried to use popup_window->set_window_position( position = if_wd_window=>CO_CENTER ).but it has no effect at all
can anyone help me out?
thanks in advance.
This really sounds like something you should search the Service Marketplace for a note one or open a support ticket. If the rendering isn't centered or doesn't remember the last location on a second opening; then something sounds wrong with the UR rendering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
just set the size i.e. height and width of the rootuielementcontainer of the dialog view to make its position in center.
Regards,
anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.