Источник:
http://alexvoy.blogspot.com/2008/08/...erloading.html
==============
Sometimes we need to change the standard behaviour of form controls. It is not a big deal when when it concerns overriding form controls' methods in design time in AOT. But when it comes to doing that dynamically it may not be as simple as a piece of cake.
From the beginning the goal was to make sorting functionality on the grid created by
SysTableLookup class impossible for the user. It might have been a good solution to change the code like the following
formRun = classfactory.formRunClass(args);
form = formRun.form();
// allow the class to react on the form's events
formRun.controlMethodOverload(true);
formRun.controlMethodOverloadObject(this);
// here override Sorting on all datafields added on the grid
this.overrideSortMethodOnDatafields(form);
<span class="rem">//