Vcl.ComCtrls.TRichEdit.OnSaveClipboard

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnSaveClipboard: TRichEditSaveClipboard read FOnSaveClipboard write FOnSaveClipboard;

C++

__property OnSaveClipboard;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TRichEdit

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.

Vcl.ComCtrls.TRichEdit.OnSaveClipboard inherits from Vcl.ComCtrls.TCustomRichEdit.OnSaveClipboard. All content below this line refers to Vcl.ComCtrls.TCustomRichEdit.OnSaveClipboard.

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