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

THTMLBrowserHelpViewer.BrowserPath

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

Declaration

Source position: lazhelphtml.pas line 111

published property THTMLBrowserHelpViewer.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

THTMLBrowserHelpViewer.OnFindDefaultBrowser

  

Event handler signalled to find the default browser for the help viewer.

THTMLBrowserHelpViewer.FindDefaultBrowser

  

Locates the default browser application used for HTML help topics.

THTMLBrowserHelpViewer.BrowserParams

  

Parameters passed to the browser application to display a HTML help topic.

THTMLBrowserHelpViewer.ShowNode

  

Displays the help node for a HTML help topic.


Version 4.0 Generated 2025-05-03 Home