Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

OnGetApplicationName

Callback to get a customized application name.

Declaration

Source position: osutilsh.inc line 68

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.


Documentation generated on: Oct 02 2024