TrvActionPasteSpecial.OnCanPaste

<< Click to display table of contents >>

TrvActionPasteSpecial.OnCanPaste

This event is used to update Enabled property of the action.

type

  TRVACanPasteEvent = procedure (Sender: TrvActionPasteSpecial;

    var CanPaste: Boolean) of object;

 

property OnCanPaste: TRVACanPasteEvent;

On input, CanPaste parameter is the value returned by TCustomRichViewEdit.CanPaste.

If you implement pasting in additional formats, assign True to CanPaste if data in these formats are available in the Clipboard.

See also events:

OnShowing

OnCustomPaste