Unit CastleOpenDocument

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Opening files and URLs.

Overview

Functions and Procedures

function OpenURL(AURL: String): Boolean;
function OpenDocument(APath: String): Boolean;

Constants

SCannotOpenURL = 'Browser not found on your system.';

Description

Functions and Procedures

function OpenURL(AURL: String): Boolean;

Open URL with the suitable application.

This detects and handles also local files (as filenames, or URLs with "file:" protocol).

function OpenDocument(APath: String): Boolean;

Warning: this symbol is deprecated.

Open a local file or directory. You should instead use OpenURL, that automatically detects local filenames and URLs leading to local filenames.

Constants

SCannotOpenURL = 'Browser not found on your system.';

If defined, the compiled code will have embedded all the variations of basic fonts for the X3D Text node (see [http://castle-engine.sourceforge.net/x3d_implementation_text.php]). This is comfortable (the FontStyle font works, with 3 * 4 font variations, out of the box), but it increases your exe size — possibly without a reason, if you don't use FontStyle X3D node.

Undefine this to conserve around 0.7 MB in exe size. All the Text X3D nodes will use standard sans non-bold, non-italic font.


Generated by PasDoc 0.14.0.