Vcl.ComCtrls.TCustomRichEdit.OnSaveClipboard

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnSaveClipboard: TRichEditSaveClipboard read FOnSaveClipboard  write FOnSaveClipboard;

C++

__property TRichEditSaveClipboard OnSaveClipboard = {read=FOnSaveClipboard, write=FOnSaveClipboard};

Properties

Type Visibility Source Unit Parent
event protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomRichEdit

Description

Occurs when the window of the edit control is about to be destroyed and the edit control has delayed the rendering of text copied to the clipboard.

Write an OnSaveClipboard event handler to respond to notifications that the window of the edit control is about to be destroyed and the Clipboard needs information from the edit control. The NumObjects parameter is the number of objects on the Clipboard, and NumChars is the number of characters on the Clipboard. To clear all information about the edit control from the Clipboard, set SaveClipboard to False.

See Also