Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

splitter in splitter

Former Member
0 Likes
774

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..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
658

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

2 REPLIES 2
Read only

Former Member
0 Likes
659

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

Read only

0 Likes
658

this is the perfect answer..solved my problem..

thank you very much Albert..