Tab Panel Script not quite there

Discussion created by cmj on Mar 6, 2018
Latest reply on Mar 6, 2018 by philmodjunk

I am attempting to trigger a script OnPanelSwitch that sets the cursor in the first portal row (this triggers a sort on entry of the portal).

When I have the first If , it works. When the script has the addition of the Else If, it stalls (but it does sort the portal in the 1st. panel). The tabs do have object names. I'm a little unclear of the panel functions and after hours of trying to solve this, I've had no luck.


What am I doing wrong here? Thank you.