First, just to make it clear - a tab control has nothing to do with code execution, but is only a way to conveniently organize your interface. A control that is on a seperate tab can still be part of the code, so your entire program can run at the same time, with no relation to what you see or don't see on the screen. If you do want pieces of your code to run only when a certain tab is selected, the easiest way would be to find the tab terminal on the block diagram. The tab is a numeric control, where the number changes according to which page is selected. So, if you wire the tab as the condition for a case structure which is inside a loop, you can have the code in each case run only when one (or more) of the pages is selected. If this doesn't satisfy you I suggest you post your code.
___________________
Try to take over the world!