Sign in Join
FPDoc Onlineexperiment

THTMLBrowserHelpViewer.BrowserPath property

Member of THTMLBrowserHelpViewerpublishedIn unit LazHelpHTML

Path to the browser application used to view a HTML help topic.

Declaration

pascal
property BrowserPath: string read FBrowserPath write SetBrowserPath;

Description

BrowserPath is a String property that contains the path on the local file system for the browser application executable used to view HTML help topics. For example:

AViewer.BrowserPath := '/usr/bin/mozilla';  // or
AViewer.BrowserPath := '"C:\Program Files (X86)\Google\Chrome\Application\chrome.exe"';

When BrowserPath contains an empty string (''), the FindDefaultBrowser method is used to get the value for the property. The method uses the OnFindDefaultBrowser event handler when assigned, or the value in the DefaultBrowser property.

BrowserPath is updated/used during execution of the ShowNode method.

Use BrowserParams to access the arguments passed on the command line to the browser application in BrowserPath.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.