Uniface 9: INT-trigger $instancehandle vs. $instancename() resp. "->" vs. "activate"
INT-trigger $instancehandle vs. $instancename() resp. "->" vs. "activate"
Author: i2stiller@gmx.de (istiller)
Ist this a bug or a feature :-) Say, I call a global proc from INIT-trigger. In this global proc, I want to callback the instance GP_DO_INIT ;a) do it by handle $instancehandle->"CB_ME"() ; ;b) do it by activate activate $instancename."CB_ME"() END a) is doing what I want BUT b) I got an error -58 "Component not found" Further investigation reveald that $instancename is valid but the instance is at this point not in the instance pool. Why are the different behavior? Is this a bug or a feature :-) Ingo
