Courtesy: http://dynamicsuser.net/forums/p/43513/220210.aspx
Problem:
Hi,
I created a form F with method M and class C, i want to call method M in class C.
Ths.
Solution:
In class C:
Object formRunObject;
;
if (args.caller() && formHasMethod(args.caller(), identifierstr(M)))
{
formRunObject = args.caller();
formRunObject.M();
}
Problem:
Hi,
I created a form F with method M and class C, i want to call method M in class C.
Ths.
Solution:
In class C:
Object formRunObject;
;
if (args.caller() && formHasMethod(args.caller(), identifierstr(M)))
{
formRunObject = args.caller();
formRunObject.M();
}
Comments
Post a Comment