TCustomRichView.SelectionExists

<< Click to display table of contents >>

TCustomRichView.SelectionExists

"Is some part of document selected for copying to the Clipboard?"

function SelectionExists: Boolean;

 

Note: In some cases, this function can generate OnSelect event, but it's safe to use it inside OnSelect event handler (infinite recursion will not occur)

 

This method must be called only when the document is formatted.

 

See also:

Selecting in RichView document.