OnGetApplicationName

Callback to get a customized application name.

Declaration

Source position: osutilsh.inc line 67

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

Name Description
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.
TGetAppNameEvent Callback type to get customized application name.
TGetAppNameEvent Callback type to get customized application name.