[Overview][Types][Procedures and functions][Variables][Index] Reference for unit 'LCLIntf' (#lcl)

OpenURL

Open a given URL with the default browser

Declaration

Source position: lclintf.pas line 81

function OpenURL(

  AURL: string

):Boolean;

Description

The function uses FindDefaultBrowser to find the default browser. If it can be found it starts it and returns true. The AURL is passed as parameter. AURL must be an URL like http://www.lazarus.freepascal.org or file:///tmp/test.txt or file://C:\test.txt.