ImageEn, unit iexRichEdit |
|
TIERichEdit.CanPaste
Declaration
property CanPaste: Boolean;
Description
Returns true if there is text data on the clipboard.
Rich Edit Identifier: EM_CANPASTE
// Enable clipboard buttons
btnCut.Enabled := IERichEdit1.SelText <> '';
btnCopy.Enabled := IERichEdit1.SelText <> '';
btnPaste.Enabled := IERichEdit1.CanPaste;