Scope: managed applications, mobile applications, and ordinary applications.
We recommend that you set the Attachable_ prefix to form module event handlers set from the code using the SetAction method. $$$ For example:
Procedure Attachable_AllowObjectAttributeEdit()
…
Procedure Attachable_ContactInformationStartChoice()
…
If handlers are attached not in the form module text (for example, in a common module), the configuration check results with the selected "Search for unused procedures and functions" check box includes the following errors:
Catalog._DemoPartners.Form.ItemForm.Form No procedure references are detected: " Attachable_ContactInformationStartChoice".
If you use the prefix, you can easily identify such handlers in check results and exclude them as exceptions.
If handlers are attached in the form module text, no errors occur when a configuration is verified with the "Search for unused procedures and functions" check box selected.