ImageEn, unit iexRichEdit

TIERichEdit.CanPaste

TIERichEdit.CanPaste


Declaration

property CanPaste: Boolean;


Description

Returns true if there is text data on the clipboard.

Rich Edit Identifier: EM_CANPASTE


Example

// Enable clipboard buttons
btnCut.Enabled   := IERichEdit1.SelText <> '';
btnCopy.Enabled  := IERichEdit1.SelText <> '';
btnPaste.Enabled := IERichEdit1.CanPaste;