docs: public static void enableAllBehaviors(Record record, boolean bEnableRecordBehaviors, boolean bEnableFieldBehaviors)
      {
          if (record == null)
              return;
          record.setEnableListeners(bEnableRecordBehaviors);   // Disable all file behaviors
          for (int iFieldSeq = 0; iFieldSeq < record.getFieldCount(); iFieldSeq++)
          {
              BaseField field = record.getField(iFieldSeq);
              field.setEnableListeners(bEnableFieldBehaviors);
          }
      }