I have the following test solution setup to demonstrate…
A global method called globals.testGlobal()
Two forms, one called test_form_1 and another called test_form_2.
On test_form_1 I have a method called testMethodForm1() that contains the following code…
forms.test_form_2.testForm2Method();
And on test_form_2 I have the above mentioned method testFrom2Method() which contains the following…
globals.testGlobal();
Inside 'globals.testGlobal()[/i] I have the following…
xx = application.getMethodTriggerFormName();
application.output(xx);
Now if I attach testMethodForm1() to a buttons onAction on test_form_1 the output from application.getMethodTriggerFormName()[/i] in globals.testGlobal() will return test_form_1, rather than test_form_2 which from the documentation I understand it should return as that is the form that called the global method.