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

Docking Container, Splitter and textedit, how to?

Former Member
0 Likes
574

Hi Team ABAP,

My idea is to have a blank dynpro, and adding a docking container at runtime. In this docking container i create a splitter_container.

My splitter container gives me two instances of new containers. One left and one right. Both of type CL_GUI_CONTAINER.

On the left side i want a tree control which is working.

But on the right side i want a textedit control. This control (type CL_GUI_TEXTEDIT) however cant be created within a container of type CL_GUI_CONTAINER but only in a container of type CL_GUI_CUSTOM_CONTAINER.

Upcasting and downcasting didnt help me here, or well maybe i did it wrong.

I also tried to create another container of type CL_GUI_CUSTOM_CONTAINER with the right container as parent.

And then i created my textedit within this container.

It worked fine, coding wasnt giving any problems, i just couldnt see my textedit anywhere.

any ideas ladies and gentlemen?

Hi Team ABAP,

My idea is to have a blank dynpro, and adding a docking container at runtime. In this docking container i create a splitter_container.

My splitter container gives me two instances of new containers. One left and one right. Both of type CL_GUI_CONTAINER.

On the left side i want a tree control which is working.

But on the right side i want a textedit control. This control (type CL_GUI_TEXTEDIT) however cant be created within a container of type CL_GUI_CONTAINER but only in a container of type CL_GUI_CUSTOM_CONTAINER.

Upcasting and downcasting didnt help me here, or well maybe i did it wrong.

I also tried to create another container of type CL_GUI_CUSTOM_CONTAINER with the right container as parent.

And then i created my textedit within this container.

It worked fine, coding wasnt giving any problems, i just couldnt see my textedit anywhere.

any ideas ladies and gentlemen?

1 REPLY 1
Read only

Former Member
0 Likes
458

Problem solved,

Used a Dynpro with a CL_GUI_CUSTOM_CONTAINER on it. Docked a container at left and put in the tree, in the predefined custom container i loaded the textedit control.