Procedure TWPCustomRtfEdit.BeforeDestruction

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Description

This procedure can be used to prepare the editor to be destroyed. This can be useful to avoid AV problems when closing a form which consists of different linked controls, such as a TWPPreview and ad a TWPRichText.