Endless Tab Loop
Using tabs and running a script when someone selects a different tab. The script accesses a different layout and I want to be able to return to the original layout and to the selected tab - not the default tab.
All tabs have object names which are captured into a global variable when the script runs (triggered with OnObjectModify for the tab). The script access another layout and then returns to the original layout with the tabs. I use go to object to move to the front tab captured in the global variable. All of this works but the script drops into an endless loop as the go to object seems to be firing the OnObjectModify trigger.