I have a layout with a Button with its associated script and an edit box with its onObjectExit trigger script.
My Issue is with the onObjectExit trigger script.
If i exit the edit box, by tab/enter/Return the script is triggered as expected.
if I exit the edit box by clicking on any other object on the layout other than buttons, it also works as expected.
It is only when i exit by clicking on a button, that i find that the button's script is first called and the trigger script is left waiting until i click somewhere else - that is not a button.
Is this the expected behavior, and how do i go around that?
i would like the trigger script to run before the button's script.
FM pro Adv 17