04-22-2009 10:57 AM
Hi All,
I have created a screen with two custom container. One is for a tree ALV and the other one is a table ALV. My question is how can I make the containers to fully utilize my real screen estate? It seems that I can only specify a fixed value to the lines and columns of screen and custom containers.
Regards,
Alex
04-22-2009 3:47 PM
Hi Alex,
Yes, you are partly right.
Custom container can have only fixed size and position on screen. You must define it before program starts and can't change it dynamically. The container is, however, only a place where you strore your GUI controls. It is therefore up to them what size they are. If they don't fit the size of the container you will get a scrollbars.
If you want to have a modifiable screen containers you must use docking container or splitter container .
Note!
In cutom container control you have attributes Resizing . Their only determine if resizing the SAP window affects the size of the container. Min lines/columns are to define a smallest necessary size which must be kept to container during window resizing.
Regards
Marcin
04-22-2009 3:47 PM
Hi Alex,
Yes, you are partly right.
Custom container can have only fixed size and position on screen. You must define it before program starts and can't change it dynamically. The container is, however, only a place where you strore your GUI controls. It is therefore up to them what size they are. If they don't fit the size of the container you will get a scrollbars.
If you want to have a modifiable screen containers you must use docking container or splitter container .
Note!
In cutom container control you have attributes Resizing . Their only determine if resizing the SAP window affects the size of the container. Min lines/columns are to define a smallest necessary size which must be kept to container during window resizing.
Regards
Marcin