Chain of command now supports even more extension scenarios on forms. It is now possible to wrap:
- Methods on the root of the form.
- Methods on controls.
- Methods on data sources.
- Methods on fields on data sources.
So far you can only wrap system methods on the latter 3, i.e. methods that are defined on the Form<Type>Control, FormDataSourceObject and FormDataSet classes, respectively. You can wrap any method defined in the root of the form. Also, there is no support for extending multiple forms, controls, data sources or fields within the same extension-of class.
[ExtensionOf(formDataFieldStr(SomeForm, SomeDataSource, SomeField))]
THIS POST IS PROVIDED AS-IS AND CONFERS NO RIGHTS.