Tab Panel - onShow

Hi,

I’m in Servoy 5 and I have a tabbed panel with 3 tabs. When the form loads for the first time it displays the form in tab index 1 - great as thats what I want.

Now when I click the next tab to display the form in tab index 2 I want it to run the onShow method but what I find is this method has already run the first time when the form and tab index 1 was first loaded and it does not run again.

If I then click on another tab and return to the form it then runs the onShow method.

How do I force it to run the method onShow the first tiome when I go from the initial form to the second or is there an alternative means to run a method each time I click on a tab?

Thanks,

Hi,
Take a look on the event onTabChange in the tabpanel properties , i believe thats what youre looking for.