rvico TRichView Reference | Global constants and variables

RVIsCustomURL

Top  Previous  Next

Unit RVFuncs.

Syntax

type 

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

const 

  RVIsCustomURL: TCustomRVIsURLFunction = nil

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\Delphi\Assorted\Hypertext\URLs\

Demos\CBuilder\Assorted\Hypertext\URLs\


TRichView © trichview.com