‎2008 Feb 20 1:50 PM
Can a docking container be made to be attached only on 2 sides of the screen....? I am always getting it attached on 3 sides of the main screen and only 1 side is movable (dragable).
Can a docking contained be made inside a subscreen? Even on writing the code inside the PBO of subscreen , I am always getting Dock container in the main screen.?
Your comments will be useful.
Regards,
Diwakar
‎2008 Feb 20 1:56 PM
Look at [SAP Container|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIDOCK/BCCIDOCK.pdf]
You could detach the container and reattach it.
call method docking_container->float
exporting
do_float = do_float
exceptions
cntl_error = 1
cntl_system_error = 2.
call method docking_container->dock_at
exporting
side = side
exceptions
cntl_error = 1
cntl_system_error = 2.or when creating the container in parameter side
create object docking_container
exporting
parent = parent
dynnr = dynnr
repid = repid
side = side
extension = extension
style = style
lifetime = lifetime
metric = metric
caption = caption
no_autodef_progid_dynnr = no_autodef_progid_dynnr
exceptions
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.Regards
‎2008 Feb 20 1:56 PM
Look at [SAP Container|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIDOCK/BCCIDOCK.pdf]
You could detach the container and reattach it.
call method docking_container->float
exporting
do_float = do_float
exceptions
cntl_error = 1
cntl_system_error = 2.
call method docking_container->dock_at
exporting
side = side
exceptions
cntl_error = 1
cntl_system_error = 2.or when creating the container in parameter side
create object docking_container
exporting
parent = parent
dynnr = dynnr
repid = repid
side = side
extension = extension
style = style
lifetime = lifetime
metric = metric
caption = caption
no_autodef_progid_dynnr = no_autodef_progid_dynnr
exceptions
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.Regards
‎2008 Feb 22 4:35 AM
Hi,
Thanks for your reply.
But, I am not able to get the Floating Docking container. On using the Float method after creating the container, the whole container and its contents disappear. Nothing comes on the screen as output.
In the document, it is written that FLOAT method is not yet active. Not sure, what is the case?
‎2008 Feb 22 8:08 AM
It seems that on your version (which one is it?) the container cannot float, so it is locked on a side. Two of the four corners are locked.and you can only move the two other corners only, only one side. It appears that the geometry is against you.
Else you could "float" the container and "dock_at" it on another side alternatively, to be able to change all the dimension. (But should be hard to program)
(e.g.: dock at upper or lower side and enlarge height, then dock at left or rigth side and enlarge width)
Regards