Hello,
first thanks again for your great support in this forum.
My question: I want to create a frame dynamically by its screen Id and add it to a tab. How can I instantiate a frame? The following code didn’t work since the screen class of a AbstractFrame is null.
This works, thanks a lot. I want to add also the tab dynamically. Since the addTab method requires a child component as parameter and the openFrame method requires a parent component as parameter, I used following workaround to create a tab and add a frame to it:
You can invoke openFrame() with null as parent (see JavaDocs). After that, try to add the frame to the TabSheet directly. Please report if it doesn’t work.