Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

splitter in splitter

i have a splitter (splits in left and right side)

I want to split the left side in a top and bottom side (so I want to split the left side again)...

Is this possible and can someone put me in the right direction..

i try do it with these classes : cl_gui_splitter_container and cl_gui_custom_container

thanks a lot..

Tags:
Former Member
Former Member replied

Yes, you can do this.

data : lo_left type ref to cl_gui_container,

lo_right type ref to cl_gui_container,

lo_ltop type ref to cl_gui_container,

lo_lbottom type ref to cl_gui_container,

lo_splitter type ref to cl_gui_splitter_container,

lo_splitter1 type ref to cl_gui_splitter_container,

lo_cc type ref to cl_gui_custom_container.

create object lo_cc

exporting

container_name = 'CC'.

create object lo_splitter

exporting

parent = lo_cc

rows = 1

columns = 2.

lo_left = lo_splitter->get_container( row = 1 column = 1 ).

lo_right = lo_splitter->get_container( row = 1 column = 2 ).

create object lo_splitter1

exporting

parent = lo_left

rows = 2

columns = 1.

lo_ltop = lo_splitter1->get_container( row = 1 column = 1 ).

lo_lbottom = lo_splitter1->get_container( row = 2 column = 1 ).

Albert

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question