From Clomosy Docs

Revision as of 13:33, 24 December 2024 by ClomosyAdmin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

There are properties available for accessing the file path of the project during file operations.

AppBasePath

It is a property that represents the path of the main directory where the Clomosy application is launched.

Example

var
 ClomosyAppPath : String;
 
{
 ClomosyAppPath = Clomosy.AppBasePath;
 ShowMessage('The main directory path of the application: '+ClomosyAppPath);
}

AppFilesPath

It returns the file path of the project.

Example

var
 ProjectFilePath : String;
 
{
 ProjectFilePath = Clomosy.AppFilesPath;
 ShowMessage('Project file path: '+ProjectFilePath);
}

See Also