tableview in tab-panel empty after print preview

I have a form with a tab-panel which contains a table-view of child records.

All’s well till I execute a print-preview, after which the tab-panel is empty. “Relookup” makes it all come back. Bug?

Environment: “Servoy R2 2.0.4 build-277 on Linux using Java 1.4.2_03”

Neale.

tabpanels can’t be printed.
Do you have the property of the tabpanel set to printable?

jcompagner:
tabpanels can’t be printed.

Hmmm, that’s odd - it “works for me” (I just tested with print-to-file").
FWIW, my case is a simple one of a tableview form in a single tab (i.e. like a portal, but without the restrictions of a portal)

jcompagner:
Do you have the property of the tabpanel set to printable?

Indeed I do. The printing itself is fine - it’s when I close the print-preview window and return to the form proper that the tabpanel is blank.
FWIW, none of the printSliding options are enabled and the tabpanel does have scrollbars.

Thanks,
Neale.

Johan is mistaken, it is possible to print tab panels but there are several conditions to that (see manual).
And a side effect of printing tabpanels is that the form, when being printed is temporary removed from the visible tabpanel, as long we cannot duplicate forms (planned for 2.5) you have to do indeed some action to get the panel back. (setTabIndex on tabpanel after printing is the best working)

Ah, Ok. Thanks for the clarification.

Would the simplest workaround to have an onShow method to setTabIndex?

Thanks,
Neale.