Skip to Content
author's profile photo Former Member
Former Member

control

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2007 at 12:09 AM

    Hi,

    1) Yes. It is a container..

    2) Yes.

    3) Yes.

    Thanks,

    Naren

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2007 at 03:24 AM

    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>

    Regards,

    Beejal

    **reward if this helps

    Message was edited by:

    Beejal Rawal

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.