RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRichEdit.OnSaveClipboard Event

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

Pascal
property OnSaveClipboard: TRichEditSaveClipboard;
C++
__property TRichEditSaveClipboard OnSaveClipboard;

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 parameter NumObjects 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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!