Using CFG and INI files

 

Individual API transactions exist to change specific user interface elements, or to set default values. Such changes can also be made using Configuration (CFG) and Initialization (INI) files.

By selecting a different CFG file, many Imagenation UI elements can be changed at once, including menus, commands, buttons, and dialog box options. The CFG file is meant to be used by integrators who want to customize the look of Imagenation.

To find out what CFG file is currently being used:

· Use the GetCFGFilename transaction. It has no parameters.

To use another CFG file:

· Specify the CFG file in the SetCFGFilename transaction.

Several different CFG files are shipped with Imagenation, but you can also create your own CFG file. For information about that, click Creating custom CFG files.

You can also request and set specific CFG user interface features one by one with GetUIConfiguration and SetUIConfiguration. However, this is less efficient than creating your own CFG file.

Imagenation default values are stored in an INI file, which you can edit. End users and system administrators may also edit the INI file, to make Imagenation's default values suit their working style.

To find out what INI file is being used by Imagenation:

· Use the GetINIFilename transaction. It has no parameters.

For more information on editing the Imagenation INI file, refer to the System Administrator Help (Sysadmin.hlp) that is installed with Imagenation.

See also