help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

OnGetApplicationName

Callback to get a customized application name.

Declaration

Source position: osutilsh.inc line 52

var OnGetApplicationName: TGetAppNameEvent;

Description

By default, the configuration file routines GetAppConfigDir and GetAppConfigFile use a default application name to construct a directory or filename. This callback can be used to provide an alternative application name.

Since the result of this callback will be used to construct a filename, care should be taken that the returned name does not contain directory separator characters or characters that cannot appear in a filename.

See also

TGetAppNameEvent

  

Callback type to get customized application name.

ApplicationName

  

Return a default application name

GetAppConfigDir

  

Return the appropriate directory for the application's configuration files.

GetAppConfigFile

  

Return an appropriate name for an application configuration file.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505