Hello
Is there a Possibility to close all open tabs togheter?
Jonpaul
Hello
Is there a Possibility to close all open tabs togheter?
Jonpaul
At the moment not.
We’re thinking about creating a popupmenu when rightclicking on the tabs with options like “close”, “close all tabs” and “close other tabs”.
Hi there,
And if I need to close all tabs manually? which will be the best way to do that?
Thanks,
Federico
The method to close all tabs will look like this:
function closeAllTabs(_event) {
vTabNames = [];
vOpenTabs = [];
vExtraTabs = [];
forms.svy_nav_fr_main.elements.tab_split.setRightForm(forms["svy_nav_fr_home_dtl"], null);
rebuildTabs(_event);
}
It will be in the next release, but if you want, you can add it to the form “svy_nav_fr_openTabs” already.
Hi
I just realised that if I have a costum startup_form, after closing the tabs I still have the default servoy form.
I would prefer that the form from the properties is displayed.
Jonpaul
Yes, at the moment the form is hardcoded when closing all tabs. It should off course get the right startup-form/program from the properties.
This will be changed for the next release.
How do you close one tab using code? I mean, for one program we have a login form and if the customer cancels the login form we want to close that program/tab.
Regards,
Juan Urraburu