Enabling the user to reverse the screen direction

In the application keypad settings you can provide a Screen reverse button on bidirectional transformations for the convenience of your users. The button appears on the application keypad (for Web applications) and on the Transformation view toolbar (for rich client applications). Clicking the button toggles the screen orientation—the operation performed on host systems by pressing the Alt+Enter keys.

At the project level you can include the Screen reverse button in the Application keypad section of the Rendering tab in the Project editor. At the transformation level you can include the Screen reverse button using the Insert Application Keypad functions in the transformation editor.

When you create a new HATS project and select a bidirectional code page, two additional check boxes appear on the Connection Setting panel: Enable screen reverse for non-customized screens and Enable screen reverse for customized screens. These check boxes determine whether the Screen reverse button you provide appears on these screens. By default, both boxes are selected. If you select the first box, the second box is enabled. There is no way to select only the second box.

A non-customized screen is one that is not matched by any screen customization. A non-customized screen, when viewed by the user, has the same screen orientation as the previous screen. If the first screen is non-customized, its screen orientation is left-to-right. If the screen orientation is changed on a previous screen, it is inherited by the next non-customized screen and reset by the next customized screen.

The initial screen orientation of customized screens is the same as it was when the screens were customized. For both customized and non-customized screens, clicking the Screen reverse button changes the screen orientation. During screen recognition, a reversed screen is considered different from the same screen before the screen has been reversed. Therefore, the Screen reverse button can cause a screen not to be recognized. If the developer is confident that all host components that appear on a customized screen are oriented properly, there is no need to enable the Screen reverse button for that screen. It is advisable to disable the Screen reverse button for customized screens.

Enabling the Screen reverse button to the user of an Arabic application will enable another check box to control shaping orientation. For more information see: Functions for Arabic code pages