2010 Oct 18 5:54 PM
DATA: ob_custom1 TYPE REF TO cl_gui_docking_container,
"Docking Container
"6 Split Containers
ob_split1 TYPE REF TO cl_gui_easy_splitter_container,
ob_split2 TYPE REF TO cl_gui_easy_splitter_container,
ob_split3 TYPE REF TO cl_gui_easy_splitter_container,
ob_split4 TYPE REF TO cl_gui_easy_splitter_container,
ob_split5 TYPE REF TO cl_gui_easy_splitter_container,
ob_split6 TYPE REF TO cl_gui_easy_splitter_container,
As shown above i have created 1 Docking Container. Then split that into 6 splitter containers. The only issue is, the docking container has no VERTICAL SCROLLING hence the last spliter container is hidden from view and there is no way to get to it without have to reduce size of other split controls. Is there no way i can have a vertical scroll to my docking container.
thnx
salman
DATA: ob_custom1 TYPE REF TO cl_gui_docking_container,
"Docking Container
"6 Split Containers
ob_split1 TYPE REF TO cl_gui_easy_splitter_container,
ob_split2 TYPE REF TO cl_gui_easy_splitter_container,
ob_split3 TYPE REF TO cl_gui_easy_splitter_container,
ob_split4 TYPE REF TO cl_gui_easy_splitter_container,
ob_split5 TYPE REF TO cl_gui_easy_splitter_container,
ob_split6 TYPE REF TO cl_gui_easy_splitter_container,
As shown above i have created 1 Docking Container. Then split that into 6 splitter containers. The only issue is, the docking container has no VERTICAL SCROLLING hence the last spliter container is hidden from view and there is no way to get to it without have to reduce size of other split controls. Is there no way i can have a vertical scroll to my docking container.
thnx
salman
2010 Oct 20 12:09 PM
First time ever not even a single reply. Is my question not clear???? Please help
thnx
2010 Oct 21 7:58 AM
>
> First time ever not even a single reply. Is my question not clear???? Please help
>
> thnx
I will then try.
I think you can't really provide scrollbar in docking conatainer as this is only a container. Imagine you have empty custom container. Why doesn't it have the scrollbar too? It needs first some GUI control to be embeded in it. Then if the GUI size exceeds container bounds it will receive the scrollbars. Without any control it will stay pure empty container.
In your case, however, I think you already have all the GUI controls. Oterwise you wouldn't be able to move splitting bar b/w containers. Anyhow docking container is of special type. It is resizable during runtime. Which means it is on your matter to set correct width of the container in order too fit its content. To me it therefore requires passing high value to parameter width when creating the container so it covers full screen (you can also use set_width method once its created to adjust the width). You could also play a little bit with SET_ROW_SASH method which allows to move the splitter bar. You can i.e set its fixed position then switch the possibility to move it off.
Regards
Marcin
2010 Oct 22 1:10 PM
Hi Marcin.
thnkx for your reply. I understand the concept. Firstly fyi: i want vertical scrolling not horizontal hence iam interested in setting up height before hand for the docking container.
Now what i have done is I have created a custom container instead of docking one. I have manually stretched the canvas and then the container in screen painter. Now I can get to the bottom most split container by scrolling vertically. I am just wondering if there is a way to set the height of the custom container in the code, rather than me going in the screen painter and manually stretching the container and the canvass?
tnx
2010 Oct 25 7:39 AM
I think you will need to stick to manual tweaking. Custom area you are using for container must have fixed dimension, meaning you need to adapt it by manually streatching it on the canvas. The container embeded in it should be resizeable in order you get the scroolbars but I am not sure whether it depends on the content or you can set it using container's methods. You have to try differents things.
Regards
Marcin
2010 Oct 26 5:57 PM
2010 Dec 23 8:47 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |