Skip to content

TCustomApplication.Location

Application location.

Declaration

Source position: custapp.pp line 107

public property Location: string;

Description

Location returns the directory part of the application binary. This property works on most platforms, although some platforms do not allow to retrieve this information (Mac OS for example has no reliable way to get this information). See the discussion of Paramstr in the RTL documentation.

See also

Name Description
Paramstr
Params Command-line parameters.