Contributions
Re: ODT caller
Hi David, Unfortunately i need more than that, at a logical point of view here's what i would want (the following code doesn't work as Jscript/C# script doesn't support direct object compare): function Method() { var MemberName = null; for (var i=0; i<This.owner.PropertyCount; i++) if (This.owner.Properties(i).Value == This) MemberName = This.owner.Properties(i).Name; // Do something depending on MemberName } I think if there would be a way to compare the references of the items in that if, i would get what i need but don't know if there's any way to do that Thanks, Andi693Views0likes0CommentsODT caller
Hi, Using the following Classes defined in ODT: Class: App Members: App.Member1 of type (MemberClass) App.Member2 of type (MemberClass) Class: MemberClass Method: MemberClass.Method() Considering the above ODT is used in scripts like: App.Member1.Method() or App.Member2.Method() Is there a way to know inside the Method() which was the called member? Thank you, Andi12KViews0likes3Comments