Libraries of Runtime Objects

Runtime libraries contain objects that can be used by all components in the application. These objects can include global objects, such as messages, menus, and global variables, as well as translation tables and language setups.

The libraries are packaged into Uniface archive files (.uar) for deployment. These files can be copied to any server or client machine that requires it. UAR files provide fast performance and make it easy to update existing applications with new or changed runtime objects.

Some global objects, such as menus, panels, and drag-and-drop formats, are only suitable for desktop applications. Others, such as messages, can be used in all types of application. For more information, see Global Objects.

Many of these objects are language-specific, so some libraries are identified by both name and language. Uniface will automatically choose the library to use based on the language specified in the configuration file.

Note:   Messages, help texts, and the various types of language setups are all stored in a message library, although they have different editors for adding them to the library.

It is possible to dynamically change the library or language using ProcScript. In both the configuration file and ProcScript, you can specify the name of the library using $variation, and the language with $language.

Objects Available Through Runtime Libraries

Objects Available Through Runtime Libraries
Object Description
Global Variables

Global Variables are typed variables that can be accessed by all ProcScript in the application at runtime. For more information, see Variables.

Global ProcScripts Global ProcScripts are ProcScript modules that can be called by any component in the application at runtime.
Menu Objects Menus are language-specific objects that define menus for desktop applications.
Panels Panels are objects that define toolbars in desktop applications.
Messages Messages and help texts are language- or locale-specific texts that can be displayed in the application at runtime.
Language Setups Definitions to be used for user-defined language definitions, including Data and Time formats, Error messages, default button texts, and Japanese eras (Kanji-specific definitions for reigns of the emperors).
Drag-and-Drop Formats Drag-and-Drop Formats define the default action, pop-up menu, and icons used during drag and drop actions in a desktop application.
Glyphs Glyphs are images in a Uniface-proprietary format, which can be used as background images in forms, entities and application shells, and as icons in widgets, panel buttons, menus, and drag-and-drop formats.
Device Translation Tables Device Translation Tables map Uniface output to device-specific output formats for printers and character-based (CHUI) screens.
Keyboard Translation Tables Keyboard Translation Tables map user input to structure editor functions recognized by Uniface.