Recognizing bidirectional host components

Typically the orientation of a host component is the same as the screen orientation. However, in some cases, the orientation of a host component is the opposite of the general orientation of the screen. When a HATS project uses a bidirectional code page, a check box labeled Recognize component oriented opposite to screen is added to the Insert Host Component wizard and the Create a Screen Combination wizard. When you add a host component to a transformation, select this box if the host component's orientation is the opposite of the screen orientation. Selecting the box enables HATS to recognize command prompts, function keys, selection lists, subfile, and input fields with hints whose orientation is the opposite of the screen orientation.

Mixed bidirectional text may be used in function key and selection list settings. This means that strings like: BIDI1 = BIDI2, where BIDI1 and BIDI2 are segments of bidirectional text, may be recognized as function keys and selection lists .

By default, only left-to-right components may be recognized in default rendering of screens (as in an English session). However, selection of the Recognize component oriented opposite to screen property in the Project Settings editor, on the Rendering tab in the Default Rendering section will enable recognition of both left-to-right and right-to-left components in default rendering.

Also by default, components on a screen transformation are recognized only according to the screen orientation. At the project level you can specify that if a component is not recognized, HATS should try to recognize it using the opposite screen orientation. To make this specification, in the Project editor on the Rendering tab in the Advanced section under Default Rendering, select the Recognize component oriented opposite to screen check box. If this selection is made and the component is still not recognized, then rendering will follow the specification made with the setting, Use default rendering on component rendering failure.

You can also specify this setting at the component level. To do so, when you add a component to a transformation using the Insert Host Component wizard, on the Rendering Options panel, click the Advanced settings for rendering button, and select the Recognize component oriented opposite to screen box. The value of this setting at the component level is not inherited from the project setting. The following table shows the possible combinations of this setting at the project and component levels and which setting is used. For more general information see Advanced rendering.

Table 1. Project and component setting combinations
Project setting Component setting Setting used
cleared cleared component
cleared selected component
selected cleared project
selected selected component