I have a report with tabs that I created a journal from.
Let in script, I need to add to the journal sometimes - I want more tabs in it.
Example code is below, but it always puts the new tabs on the bottom of one of the other tabs. The behavior I want is 5 tabs in the journal'd output.
Any help to do this? I tried add instead of append, but can't seem to find right command.
Thanks,
Joe
nw = new window("Tabs",tab box(
tab page box(Title("test1"),text box("1st tab")),
tab page box(Title("test2"),text box("2st tab")),
tab page box(Title("test3"),text box("3st tab"))
)
);
nw << journal;
nw2 = new window("Tabs2",tab box(
tab page box(Title("test4"),text box("4st tab")),
tab page box(Title("test5"),text box("5st tab"))
)
);
current journal() << append(nw2);