‎2010 Mar 21 8:28 AM
All,
How can we restrict the resizing the docking container with class GL_CUI_DOCKING_CONTAINER. Currently it is displaying in full screen. but donot want user to resize the SCREEN.
create object g_docking_container
exporting
repid = g_repid
dynnr = '300'
extension = 99999
side = cl_gui_docking_container=>dock_at_right.
a®
‎2010 Mar 22 3:53 AM
Hi,
you can control size using parameter EXTENSION. The value 99999 is too big for any screen hence the container is displayed in fullscreen.
Cheers
‎2010 Mar 22 3:53 AM
Hi,
you can control size using parameter EXTENSION. The value 99999 is too big for any screen hence the container is displayed in fullscreen.
Cheers
‎2010 Mar 22 3:57 AM
Thanks for your reply.
My question is the Docking container will display in full screen. But i wanted to restrict the resizing of the screen.
a®
‎2010 Mar 22 5:15 AM
I am sorry. I did not read your question carefully. I don't know answer but have you tried to use event SIZE_CONTROL? Basically, you would always resize container to original size in this event. I am not sure how it will look. BTW have you seen any standard SAP transaction with disabled resizing?
Cheers
‎2010 Mar 22 5:32 AM
I have try with method REG_EVENT_SIZE_CONTROL, but its not working , still user can resize the screen, using DRAGGING.
I could not find any SAP standard programs with resizing restricted.
Any Info ?
.
a®
‎2010 Mar 23 8:05 AM
Hi,
Don't know how to do this for docking container but you can use splitter container instead and remove the option for resizing it.
r_split_container->set_row_sash( id = 1
type = me->r_split_container->type_movable
value = me->r_split_container->false ).
Regards
Marcin
‎2010 Mar 24 5:01 AM
Thanks Marcin,
You hint got worked out. I have used Splitter container instead of Docking container.
Thanks
a®