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

Bind subscreen in CL_GUI_CONTAINER object

Former Member
0 Likes
978

Hi colleagues,

I have following code which works fine - divide screen with splitter into two section.

  • create main container

create object go_cont

exporting

extension = 500

side = go_cont->dock_at_top

name = 'CONTAINER'.

  • create splitter

create object go_splitter

exporting

parent = go_cont

rows = 2

columns = 1.

  • create pane - overview

go_splitter->get_container(

exporting

row = 1

column = 1

receiving

container = go_cont1 ).

  • create pane - details

go_splitter->get_container(

exporting

row = 2

column = 1

receiving

container = go_cont2 ).

Then I have subscreen 0210 designed in Screen painter.

How can I bind this subscreen to container go_cont2?

Thanks a lot for help.

Best Regards

Martin

1 ACCEPTED SOLUTION
Read only

MarcinPciak
Active Contributor
0 Likes
721

Please refer our discussion on

Regards

Marcin

3 REPLIES 3
Read only

Clemenss
Active Contributor
0 Likes
721

Hi Martin,

I think this will not be possible: A GUI control always needs a screen where it is bound to, in a control area, as docking or dialog container. Also your splitter is based on an other gui control or screens control area.

The other way round, screen in control, is not possible. No way, you will have to put the subscreen content in some kind of gui control/container.

Regards,

Clemens

Read only

MarcinPciak
Active Contributor
0 Likes
722

Please refer our discussion on

Regards

Marcin

Read only

Former Member
0 Likes
721

Thanks a lot for replies. Not very happy about this, but can live with that

Best Regards

Martin