Compatibility mode

Compatibility mode is used for the compatibility reasons, so that the developer is able to create an application which functions and behaves in a familiar way.

Depending on the user preferences a 4GL application may be run in Lycia, Informix4GL or GBDS compatibility modes. By default, Lycia compatibility mode is used. If other behavior is required, set the QX_COMPAT environment variable to the required value in the inet.env file (e.g., QX_COMPAT=Informix4GL).

Compatibility mode influences both appearance and behavior of your applications. Detailed information is given below.

PROMPT "message" FOR CHAR varchar

Informix4GL

A prompt message is displayed to the current window (by default, the PROMPT statement output is displayed to the first form line).

Lycia

A prompt message is displayed to the current window status bar (the message line).

GBDS

A prompt message is displayed to a separate dialog window.

PROMPT "message" FOR var

Informix4GL

A prompt message is displayed to a current window (by default, the PROMPT statement output is displayed to the first form line).

Lycia

A prompt message with a text field are displayed to a separate dialog window.

GBDS

Action toolbar content

Under the action toolbar, the toolbar with the action views which are the visual representation of the actions present in an application is meant. It is created automatically at runtime and is used for triggering the action events by an application execution depending on the context.

Informix4GL

The action toolbar contains the default action buttons such as accept, cancel and help, and the action views defined with the help of the toolbar group functions.

Lycia

The action toolbar only contains the context actions, that cannot be invoked with the help of another window/form elements.

GBDS

Action toolbar appearance

Informix4GL

On top (horizontally).

Lycia

On the right (vertically).

GBDS

Ring menu default actions

Informix4GL

Besides the actions defined within the MENU statement, the default actions for accept, cancel and help are added to the current action list.

Lycia

Only the actions explicitly defined within the MENU statement are available.

GBDS

DEFER INTERRUPT

Informix4GL

The defer interrupt flag is not set.

Lycia

GBDS

An application is run as though the DEFER INTERRUPT is defined: the execution proceeds on receiving an interrupt signal during any user interaction within an application.

OPEN WINDOW

Informix4GL

A flat window is displayed by default, unless it is specified otherwise.

Lycia

A bordered window is displayed by default.

GBDS

DISPLAY FORM

Informix4GL

A form is displayed to the current window or SCREEN.

Lycia

Provided that an application has no open windows on the DISPLAY FORM statement execution a new bordered window to which a form is displayed is created. The size of this window corresponds to the form size (the one, defined in a form file).

GBDS

FORM LINE

Informix4GL

The first line of a form is displayed on the 3d line of a current window.

Lycia

GBDS

The first line of a form is displayed on the 1st line of a current window.

arg_val()

Function arg_val() returns different values in case of argument is absent

Informix4GL

' ' - <blank space>

Lycia

NULL

GBDS

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.