Sign in Join
FPDoc Onlineexperiment

OnGetApplicationName variable

In unit sysutils

Callback to get a customized application name.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.