 enum { E_PG_MAIN, E_POP_KEYPAD };
 enum {
   E_BOX1, E_BTN_ADD, E_BTN_MULT, E_BTN_SUB
-  , E_TXT7, E_TXT_VAL1, E_TXT_VAL2, E_ELEM_KEYPAD
+  , E_TXT_RESULT, E_TXT_VAL1, E_TXT_VAL2, E_ELEM_KEYPAD
 };
 enum { E_FONT_SANS2, E_FONT_TXT1 };
 //<Enum !End!>

  gslc_ElemSetTxtMargin(&m_gui, pElemRef, 5);
  gslc_ElemSetClickEn(&m_gui, pElemRef, true);
  gslc_ElemSetTouchFunc(&m_gui, pElemRef, &CbBtnCommon);

  // Create E_TXT_VAL2 modifiable text label
  static char m_strtxt6[11] = "";

  gslc_ElemSetTxtMargin(&m_gui, pElemRef, 5);
  gslc_ElemSetClickEn(&m_gui, pElemRef, true);
  gslc_ElemSetTouchFunc(&m_gui, pElemRef, &CbBtnCommon);
  m_pElemVal2 = pElemRef; // Save for later

  // Create E_TXT_RESULT modifiable text label
  static char m_strResult[11] = "";
  pElemRef = gslc_ElemCreateTxt(&m_gui, E_TXT_RESULT, E_PG_MAIN, (gslc_tsRect) { 150, 200, 62, 12 },
    (char*)m_strResult, 11, E_FONT_TXT1);
  gslc_ElemSetTxtCol(&m_gui, pElemRef, GSLC_COL_GREEN);
  m_pElemResult = pElemRef; // Save for later

  // create E_BTN_ADD button with text label
  pElemRef = gslc_ElemCreateBtnTxt(&m_gui, E_BTN_ADD, E_PG_MAIN,
