|
TCustomRichView.CopyDef |
Top Previous Next |
|
Copies the selected fragment to the Clipboard in several formats according to Options. function CopyDef: Boolean; This is the main method for copying to the Clipboard. It is executed automatically when user presses Ctrl + C or Ctrl + Insert . Calling CopyDef does the same thing as sending the control a WM_COPY message. This procedure does nothing if there is nothing selected. This procedure clears the Clipboard before copying.
This method must be called only when the document is formatted. Return value: "Is the selection not empty?" and "Is at least one of rvoAutoCopy*** options set?" See also: |