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

difference

Former Member
0 Likes
840

hi

can anyone please tell me the difference among cl_gui_docking_container,

cl_gui_splitter_container and cl_gui_custom_container classes. what are the roles of these classes.

3 REPLIES 3
Read only

oliver
Active Contributor
765

Hi Azra,

from the docs:

SAP Custom Container

The SAP Custom Container allows you to display controls in an area defined on a normal screen using the Screen Painter.

Class: CL_GUI_CUSTOM_CONTAINER

SAP Docking Container

The SAP Docking Container allows you to attach a control to any of the four edges of a screen as a resizable screen area. You can also detach it so that it becomes an independent amodal dialog box.

Class: CL_GUI_DOCKING_CONTAINER

SAP Splitter Container

The SAP Splitter Container allows you to display more than one control in a given area by dividing it into cells.

Class: CL_GUI_SPLITTER_CONTAINER

For more see here: http://help.sap.com/saphelp_nw04/helpdata/en/d3/2955360b00a115e10000009b38f839/frameset.htm

Regards,

ok

Read only

oliver
Active Contributor
0 Likes
765

Oh, and please don't forget to reward some points if the answer was helpful!

Thanks,

ok

Read only

Former Member
0 Likes
765

Hi,

SAP Container

Use

A SAP Container is a control that accommodates other controls, such as the SAP Tree Control, SAP Picture Control, SAP Textedit Control, SAP Splitter Control, and so on. It manages these controls logically in a collection, and provides a physical area in which they are displayed.

All controls live in a container. Since containers are themselves controls, you can nest them. The container is the parent of the control within it.

There are five kinds of SAP Containers:

SAP Custom Container

The SAP Custom Container allows you to display controls in an area defined on a normal screen using the Screen Painter.

Class: CL_GUI_CUSTOM_CONTAINER

SAP Docking Container

The SAP Docking Container allows you to attach a control to any of the four edges of a screen as a resizable screen area. You can also detach it so that it becomes an independent amodal dialog box.

Class: CL_GUI_DOCKING_CONTAINER

SAP Splitter Container

The SAP Splitter Container allows you to display more than one control in a given area by dividing it into cells.

Class: CL_GUI_SPLITTER_CONTAINER

Regards