Sign in Join
FPDoc Onlineexperiment

THTMLHelpDatabase.GetEffectiveBaseURL function

Member of THTMLHelpDatabasepublicIn unit LazHelpHTML

Gets the effective Base URL used to access a topic in the HTML help database.

Declaration

pascal
function GetEffectiveBaseURL: string

Function result

Derived value for the URL needed to access the HTML help topic.

Description

GetEffectiveBaseURL is a String function used to get the effective value for the BaseURL needed to access a topic in the HTML help database.

When BaseURL is not an empty string (''), it is used to construct the URL path for its file name. When multiple HTML help databases have been registered, the help manager calls its GetBaseURLForBasePathObject method to derive the URL for the base path. Otherwise, the value in DefaultBaseURL is used construct the URL for the help topic file name.

GetEffectiveBaseURL ensures that a trailing path delimiter is appended to the URL in the return value.

GetEffectiveBaseURL is used in the implementation of the ShowURL method.

See also

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