TCustomRichViewEdit.PasteURL

<< Click to display table of contents >>

TCustomRichViewEdit.PasteURL

Inserts URL from the Clipboard at 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).

Supported platforms: VCL and LCL (Windows), FireMonkey (Windows and Android)

Method type: editstyle editing-style method for insertion.

Supported platforms: Windows (VCL, LCL, FireMonkey), Android (FireMonkey)

See also methods:

Paste.

See also:

TRichView and Clipboard.