Issue 30985  —   AutoImeOpen switch ignored after using fieldsyntax or $fieldsyntax

Status:   Solved in 10.2.01

Solution available in patch(es):      G101

Description:

 Summary:
 1. The syntax definition for a field on a form contains one or more
    of the three syntax properties NED,NPR,NDI.
 2. After using proc statement fieldsyntax or proc function
    $fieldsyntax the IME does not start when this fields gets focus.
 3. When YIME or NIME is not used in the field syntax definition
    the AutoImeOpen switch from the ini file should be used.

 Environment:
 +Uniface: Uniface Nine
 +Operating System: OS independent
 +Database: DBMS independent

 Symptoms
 1. AutoImeOpen=On is used in the [upi] section from the ini file.
 2. The syntax definition for a field on a form contains one or
    more of the three syntax properties NED, NPR, and NDI.
 3. Proc statement fieldsyntax or proc function $fieldsyntax sets
    the syntax for this field to YED and/or YPR and/or YDI.

 Result: After executing this proc the IME does not start when
         the fields gets focus.

 Note that:
 - When the field syntax does not contain these 3 properties
   and syntax properties YED and/or YPR and/or YDI are added
   with fieldsyntax or $fieldsyntax this problem does not occur.

 - NIME and YIME are new syntax settings in Uniface Nine.
   When YIME or NIME is not used in the field syntax definition
   the AutoImeOpen switch from the ini file should be used.

 ** Example **

  1 - The field syntax is defined as NED,NPR and
      AutoImeOpen=On is used in the [upi] section
      of the ini file.

  2 - In the field gets focus trigger, the field
      syntax is set to "YED,YPR":

         fieldsyntax F1, "YED,YPR"

  When the field gets focus the IME does not start.

 Remark:
   YIME,NIME cannot be used in proc statement fieldsyntax
   or proc function $fieldsyntax:  error -1751 is reported.

Workaround:

 Add YIME in the syntax definition for a field on a component.
 
 After using proc statement fieldsyntax or proc function $fieldsyntax the IME
 will start when the field gets focus.

Notes: