AnsweredAssumed Answered

Triggering action after entering a tab

Question asked by RussW on Nov 16, 2016
Latest reply on Aug 22, 2017 by philmodjunk

I have a very simple layout with a tab control and three tabs. I have assigned an object name to each tab. I can programmatically switch between tabs using Go To Object.


What I need to do now is trigger a given action when entering each new tab panel. The specific action is to go to one of two portal objects in the panel, go to the first row in that portal and make it active.


Using the OnTabChange trigger I can do this, but as soon as the triggered script ends, I lose focus on everything and the highlighted active row goes gray like the other unselected rows. I can see the row flash for a brief second and when doing a debug run I see that it is working, but I cannot see why or where focus is removed from any and all objects.


It's important to guide the user by showing the first row in the one portal as active (in focus).


Any ideas on what I am doing wrong or could do to make this work?