Skip to Content

Create A New Tab in a Tabstrip using Scripting

Hi Together,

when I try to create a new tab inside a tabstrip using scripting and when I run the application I get an error message, which says: "Cannot create into TABSTRIP. To successfully perform a create action, you must create into a container inside the Tab."

I do not understand this message. How can I create a container inside the tab, when the tab doesn't exist yet?

Here's my code, maybe this helps to solve the issue.

gGroupsTabstrip = COMPONENTS.createComponent(ComponentType.Tabstrip, PANEL_1);
COMPONENTS.createComponent(ComponentType.Tab, gGroupsTabstrip);

Thanks for your help in advance!

BR,
Simon

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers