Skip to Content
Former Member
May 09, 2005 at 12:31 PM

Refresh gui container



I've just stumbled over the next annoying gui problem:

I have a top level docking container that is attached to the one and only 'application dynpro'. I'm trying to be as OO as possible here...

In that docking container I want to draw different things depending on user input.

When starting the application I draw some control into the docking container and it works just fine. But now I want to change the contents of the docking container by creating some new control that has the docking container as its parent.

Guess what - the new control doesn't show up :-|

I have even tried to destroy (clear) the docking container create it again and then construct the new control but it didn't solve the problem.

In my opinion the property of being able to change the contents of a container is crucial to any gui framework and I can't believe that sap left this functionality out.

So if anybody has an idea how to change the contents of a container at runtime I would really appreciate that.

Best regards,

Patrick Baer