on 01-13-2015 10:49 PM
hi experts:
I have a problem as following:
on a UIBB by pressing a button a popup will be generated. and there is button on that popup, when the button is clicked, the second popup will be generated.
the problem is, the second popup is too small.
is any way to customize the size of the second popup window?
thanks for the help.
Hi Hao Ding,
With Popup I assume you are using dialog box?
If yes, in the dialog box attribute (not the UIBB attribute) you can find the parameter weight and height. you can set them in 'em' size or '%'
Best regards,
Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
How you are raising/showing second popup.Can you pls share the code?
Can you check returning value of popup method?
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Katrice,
the code is as below, an event is defined and will be triggered by click the button, then the dialog will be popup.
"open popup
DATA(lo_fpm) = cl_fpm=>get_instance( ).
lo_fpm->raise_event_by_id( cl_fpm_event=>gc_event_edit ).
lo_fpm->open_dialog_box(
EXPORTING
iv_dialog_box_id = 'S0_COMPOSITE_ASSIGN' " FPM: ID of the dailog window
* io_event_data = lo_event_data
).
any idea on it?
Hi,
Use this code
DATA(lo_fpm) = cl_fpm=>get_instance( ).
DATA ls_dialog_box_properties TYPE fpm_s_dialog_box_properties.
lo_fpm->raise_event_by_id( cl_fpm_event=>gc_event_edit ).
ls_dialog_box_properties-height = '50%'. " As per your requirement
ls_dialog_box_properties-width = '50%'." As per your requirement
lo_fpm->open_dialog_box(
EXPORTING
iv_dialog_box_id = 'S0_COMPOSITE_ASSIGN' " FPM: ID of the dailog window
is_dialog_box_properties = ls_dialog_box_properties " Dialog Box Properties
* io_event_data = " Event data for the dilaog box
* iv_event_adapts_context = " Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
).
Hope this helps you.
Thanks
KH
User | Count |
---|---|
86 | |
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.