|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: editing-style method for insertion.
See also methods:
TRichView © trichview.com