AnsweredAssumed Answered

Can OnPanelSwitch determine whether it was by user action or script action?

Question asked by tananatim on Dec 8, 2014
Latest reply on Dec 8, 2014 by jbante

Is it possible in FM13 to determine within a script triggered by OnPanelSwitch (or any trigger for that matter) whether the event was triggered by a direct user action or by an action within a script? I'm used to MS Access where triggers don't fire when the event occurs as a result of program action. In FM both program actions and user actions cause the triggers to fire. My script does a go to object action which causes the tab panel to change, thus firing the script, which I don't want it to do. Or maybe there's another approach I should be looking at? Thanks for any insights.

Outcomes