Application Development 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: 

control

Former Member
0 Kudos

hi,

1)'custom control' in screen painter is a container or what? i know container itself also a control but not sure what is this custom control.

2)when we want to have control like tree, textedit or other control, we need to create custom control in screen painter, right? so it is a container?

3)all these control like tree or textedit cannot create in screen painter right? must use the class in abap, right?

4) what is cl_gui_control and cl_gui_object? what is the difference?

can answer in point form? i read the help file but still not quite understand.

thanks

2 REPLIES 2

Former Member
0 Kudos

Hi,

1) Yes. It is a container..

2) Yes.

3) Yes.

Thanks,

Naren

Former Member
0 Kudos

Hello,

1) Yes.Custom control is a type of a container.A standalone instance of a control cannot be created on the presentation server.Two components should always be present-a screen and a special control called a container control.The container control attaches a control to the screen.Some of the commonly used containers are custom container,splitter container,docking container.CUSTOM CONTAINER is of class cl_gui_custom_container.

2)Yes.To attach any control like tree or text edit,we need to have a container.We can use various containers but custom container is most commonly used.

3)We have to use classes.For tree,we can use cl_gui_alv_tree.For text editor we use cl_gui_textedit.We need to create a container in the screen layout by using the icon with C written on it.

4)The automation controller is run from ABAP using cl_gui_CFW,cl_gui_object,cl_gui_control.

Cl_gui_object is just a super class of cl_gui_control.

<b>You will get sample programs for all the containers and the controls on this link:

http://www.geocities.com/victorav15/sapr3/abap_ood.html</b>;

Regards,

Beejal

**reward if this helps

Message was edited by:

Beejal Rawal