This is kind of an Axapta workaround. You can call anything on an object of type Object. One reason
for that is, that you could not call any self defined methods on a FormRun from outside the form
otherwise. And that is because, there is no true inheritance for Forms, you don't create a new
class, which extends from FormRun, like you would do in C# for instance.
Anyway it is a common practice, to add a runtime check, to check for that method with the help of
Global::formHasMethod(...).
Mike
|