rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.PasteURL

Top  Previous  Next

Inserts URL from the Clipboard in the position of caret

function PasteURL: Boolean;

(introduced in version 14)

This method does nothing and returns False if the Clipboard does not contain URL.

The method calls OnReadHyperlink event, passing the current text style in the StyleNo parameter. The application should return the corresponding hypertext style in this parameter (if the event is not processed, URL is inserted as a plain text with URL in its tag).

Method type: editstyle editing-style method for insertion.

See also methods:

Paste.

See also:

RichView and Clipboard.


TRichView © trichview.com