Sorry for this daft question but is there a way of capturing before a tabPanel is changed. I want to see if changes need to be saved before the user moves onto another tabPanel and I can’t determine where I should be putting my code.
Sorry for such a basic question, thanks.
Caroline
Look at the onChange() event of the tabPanel
Thanks I did look at that but it appears to switch the panel then run any code! or am I missing something?
In FoxPro you had the ability to use NODEFAULT and DODEFAULT() which would prevent the default code from being run till you wanted it - is something like that available in Servoy?
the onhide of the tab in the form is executed a bit earlier and can block the tab switch.
But servoy doesn’t really have a before tab change…