How it works...
The form extension works like any other extension; they are delta changes that are applied when the package is deployed.
The new concept here is the extension class. The term extension is used specifically to avoid confusion with the extends keyword. Extension classes are automatically instantiated in place of the standard class and allow them to be augmented. There is no access to private methods, but we can add state variables and access them along with the form's public variables and methods. Critically, we do have full access to the data sources on the form. The event handlers can be created as instance methods, which grants them access to the extension class's variables and methods, but also the public variables and methods ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access