Contents
- Index
- Previous
- Next
OnPastePlainText event
Applies to
TProfGrid component
Declaration
property OnPastePlainText: TProfGridPastePlainTextEvent;
Description
Occurs before some plain text format is pasted from the Windows Clipboard into a cell.
The CanPaste parameter can be set to False in the event handler to prevent pasting unwelcome data from the Windows Clipboard.
The text that is about to be pasted is passed by reference in the AText parameter. Thus the event handler can analyze and even modify the text before paste happens.