OpenURL

This is an old revision of OpenURL, edited by BigChimp at . The current revision is 86069.

Created page with "{{Translate}} Unit: Lazarus '''lclintf''' <syntaxhighlight> function OpenURL(AURL: String): Boolean; </syntaxhighlight> '''openurl''' opens an URL with the default/register..."

Template:Translate

Unit: Lazarus lclintf

function OpenURL(AURL: String): Boolean;

openurl opens an URL with the default/registered web browser as specified by the operating system.

Apparently spaces need to be encoded (as %20); see http://www.ietf.org/rfc/rfc1738.txt

Example:

uses 
...
lclintf
...
OpenURL('http://wiki.lazarus.freepascal.org/');