home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / palmos / palmmetex-0.0.3.tar.gz / palmmetex-0.0.3.tar / palmmetex-0.0.3 / PMetex.rcp < prev    next >
Text File  |  1999-08-30  |  2KB  |  97 lines

  1. #include "PMetexRsc.h"
  2.  
  3. FORM MainForm 0 0 160 160 MENUID MainMenu
  4. BEGIN
  5.     TITLE "PalmMetex"
  6.     POPUPTRIGGER "300" ID bList AT (5 20 30 AUTO) LEFTANCHOR
  7.     LIST "300" "600" "1200" "9600" "More\205" ID lList AT (PREVLEFT PREVTOP 35 1) VISIBLEITEMS 5 NONUSABLE
  8.     POPUPLIST ID bList lList
  9.     POPUPTRIGGER "1" ID bTime AT (PREVRIGHT+5 PREVTOP 35 AUTO) LEFTANCHOR
  10.     LIST "1" "2" "5" "10" "More\205" ID lTime AT (PREVLEFT PREVTOP 30 1) VISIBLEITEMS 5 NONUSABLE
  11.     POPUPLIST ID bTime lTime
  12.     CHECKBOX "Log" ID cLog AT (PREVRIGHT+5 PREVTOP AUTO AUTO) CHECKED
  13.     BUTTON "Start" ID bStart AT (PREVRIGHT+5 PREVTOP AUTO AUTO)
  14. END
  15.  
  16. FORM enterValueForm at (2 80 156 78) USABLE MODAL HELPID enterValueHelp
  17. BEGIN
  18.     TITLE "enter Value"
  19.     
  20.     LABEL "enter value:" AUTOID AT (5 20)
  21.     FIELD fenterValue AT (PREVLEFT PREVBOTTOM+2 28 20) LEFTALIGN SINGLELINE UNDERLINED MAXCHARS 7
  22.     
  23.     BUTTON "OK" ID bOK AT (5 60 40 AUTO)
  24.     BUTTON "Cancel" ID bCancel AT (PREVRIGHT+5 PREVTOP PREVWIDTH AUTO)
  25. END
  26.  
  27. FORM ViewLogForm at (2 2 156 156) USABLE MODAL
  28. BEGIN
  29.     TITLE "view Log"
  30.  
  31.     TABLE tLog AT (2 15 140 100) ROWS 9 COLUMNS 1 COLUMNWIDTHS 140
  32.     SCROLLBAR ID sLog AT (PREVRIGHT+3 PREVTOP 7 PREVHEIGHT) VALUE 0 MIN 0 MAX 0 PAGESIZE 1
  33.  
  34.     BUTTON "OK" ID bOK AT (5 138 40 AUTO)
  35. END
  36.  
  37. STRING ID enterValueHelp "Enter the custom value for this field."
  38.  
  39. MENU ID MainMenu
  40. BEGIN
  41.     PULLDOWN "Commands"
  42.     BEGIN
  43.         MENUITEM "Options" ID mOptions "O"
  44.         MENUITEM "About\205" ID mAbout "A"
  45.     END
  46.     PULLDOWN "Log"
  47.     BEGIN
  48.         MENUITEM "View" ID mViewLog "L"
  49.         MENUITEM "Clear" ID mClearLog "R"
  50.     END
  51. END
  52.  
  53. ALERT ID SerialInUseAlert
  54. ERROR
  55. BEGIN
  56.     TITLE "In use"
  57.     MESSAGE "The serial port is in use."
  58.     BUTTONS "OK"
  59. END
  60.  
  61. ALERT ID CantOpenSerialAlert
  62. ERROR
  63. BEGIN
  64.     TITLE "Error"
  65.     MESSAGE "Error opening serial port."
  66.     BUTTONS "OK"
  67. END
  68.  
  69. ALERT ID TimeoutAlert
  70. ERROR
  71. BEGIN
  72.     TITLE "Error"
  73.     MESSAGE "Timeout wile waiting for data."
  74.     BUTTONS "OK"
  75. END
  76.  
  77. ALERT ID SerErrAlert
  78. ERROR
  79. BEGIN
  80.     TITLE "Error"
  81.     MESSAGE "An errror occured while waiting for data.\nCode: ^1\n^2"
  82.     BUTTONS "OK"
  83. END
  84.  
  85. ALERT ID ClearLogAlert
  86. CONFIRMATION
  87. BEGIN
  88.     TITLE "Clear Log"
  89.     MESSAGE "Clear the whole log?"
  90.     BUTTONS "OK" "Cancel"
  91. END
  92.  
  93. APPLICATIONICONNAME 1000 "PMetex"
  94. ICON "PMetex.pbitm"
  95.  
  96. VERSION 1 "0.0.3"
  97.