Applies toTWPRichText
DeclarationTWPNotifyAttrEvent = Procedure(Sender: TObject; Attribute: TWPSetModeControl) of object;