RVIsCustomURL

<< Click to display table of contents >>

RVIsCustomURL

Unit [VCL/FMX]: RVFuncs / fmxRVFuncs;

Syntax

type 

  TCustomRVIsURLFunction = function (const Word: TRVUnicodeString): Boolean; 

const 

  RVIsCustomURL: TCustomRVIsURLFunction = nil

(changed in version 18)

You can assign your function to this variable. This function must return True if Word parameter contains URL. For example, you can create function returning True if Word is started from 'icq:'. It's not necessary to detect standard URL types here, detect only your own types of URLs.

This procedure is called by RVIsURL function.

See demos:

Demos\*\Assorted\Hypertext\URLs\