docs: public BaseField setupField(int iFieldSeq)
      {
          BaseField field = null;
          //if (iFieldSeq == 0)
          //{
          //  field = new CounterField(this, ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
          //  field.setHidden(true);
          //}
          //if (iFieldSeq == 1)
          //{
          //  field = new RecordChangedField(this, LAST_CHANGED, Constants.DEFAULT_FIELD_LENGTH, null, null);
          //  field.setHidden(true);
          //}
          //if (iFieldSeq == 2)
          //{
          //  field = new BooleanField(this, DELETED, Constants.DEFAULT_FIELD_LENGTH, null, new Boolean(false));
          //  field.setHidden(true);
          //}
          if (iFieldSeq == 3)
              field = new StringField(this, NAME, 50, null, null);
          if (iFieldSeq == 4)
              field = new MenusField(this, PARENT_FOLDER_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);
          if (iFieldSeq == 5)
              field = new ShortField(this, SEQUENCE, Constants.DEFAULT_FIELD_LENGTH, null, new Short((short)0));
          if (iFieldSeq == 6)
              field = new XmlField(this, COMMENT, Constants.DEFAULT_FIELD_LENGTH, null, null);
          //if (iFieldSeq == 7)
          //  field = new StringField(this, CODE, 30, null, null);
          if (iFieldSeq == 8)
              field = new MenusTypeField(this, TYPE, 10, null, null);
          if (iFieldSeq == 9)
              field = new BooleanField(this, AUTO_DESC, Constants.DEFAULT_FIELD_LENGTH, null, new Boolean(true));
          if (iFieldSeq == 10)
              field = new StringField(this, PROGRAM, 255, null, null);
          if (iFieldSeq == 11)
              field = new XMLPropertiesField(this, PARAMS, Constants.DEFAULT_FIELD_LENGTH, null, null);
          if (iFieldSeq == 12)
              field = new StringField(this, ICON_RESOURCE, 255, null, null);
          if (iFieldSeq == 13)
              field = new StringField(this, KEYWORDS, 50, null, null);
          if (iFieldSeq == 14)
              field = new XmlField(this, XML_DATA, Constants.DEFAULT_FIELD_LENGTH, null, null);
          if (iFieldSeq == 15)
              field = new XmlField(this, MENUS_HELP, Constants.DEFAULT_FIELD_LENGTH, null, null);
          if (field == null)
              field = super.setupField(iFieldSeq);
          return field;
      }