home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / MADTRB2.ZIP / MENU_TPL.FRM < prev    next >
Encoding:
Text File  |  1986-02-27  |  18.0 KB  |  208 lines

  1. { MENU_TPL.FRM }
  2.  
  3. { *************************************************************************** }
  4. { *                                                                         * }
  5. { *                TURBO SCREEN INPUT PRE-PROCESSOR TOOLKIT                 * }
  6. { *                                                                         * }
  7. { *                        MENU SCREEN TEMPLATE FORM                        * }
  8. { *                                                                         * }
  9. { *                             Version  1.07                               * }
  10. { *                                                                         * }
  11. { *                                                                         * }
  12. { *   The screen templates are the key to versatility of this the pre-      * }
  13. { *   processor.  It is by altering these templates you then alter how the  * }
  14. { *   screen pages will appear to the user.  For example, you may have      * }
  15. { *   four different application programs you have written and each         * }
  16. { *   program requires a unique set of inputs from the user.  All you do    * }
  17. { *   is alter the screen templates for each of the four programs with the  * }
  18. { *   proper screen template generators, while using the same input pre-    * }
  19. { *   processor subprograms to control the interaction between the user     * }
  20. { *   and the four application programs.                                    * }
  21. { *                                                                         * }
  22. { *   A screen template is simply a file containing information about the   * }
  23. { *   prompts (or descriptors) to be displayed when a particular screen     * }
  24. { *   page is shown.  The screen template is a series of records where      * }
  25. { *   each record describes one particular prompt for a particular screen   * }
  26. { *   page.                                                                 * }
  27. { *                                                                         * }
  28. { *   The form below is provided to aid you in filling out a menu template  * }
  29. { *   for your program so that the proper data is in the proper format for  * }
  30. { *   the menu subprogram.  Please use your printer to get a hard copy      * }
  31. { *   of this template form so that you can fill out the form by hand.  I   * }
  32. { *   recommend that you set-up your printer to print in compressed mode    * }
  33. { *   before printing out this file since the template form is 125          * }
  34. { *   characters wide.  Then use the menu template generator to enter this  * }
  35. { *   menu data into a menu template file.                                  * }
  36. { *                                                                         * }
  37. { *   Filling out the template form is quite easy.  Start by listing all    * }
  38. { *   the menu prompts you wish to display on your menu.  Then enter the    * }
  39. { *   screen column and row that you want each menu prompt to be displayed  * }
  40. { *   at (the screen is 80 columns wide and 25 rows high, the upper left    * }
  41. { *   corner of the screen is column 1, row 1 ).  For example, for the Up   * }
  42. { *   Key Pointer and Down Key Pointer enter the prompt record number for   * }
  43. { *   the prompt you wish to be highlighted when the user curses up or      * }
  44. { *   down.  For example:                                                   * }
  45. { *                                                                         * }
  46. { *         Record        Up Key  Down Key        Prompt                    * }
  47. { *         Number        Pointer Pointer                                   * }
  48. { *         ------        ------- --------        ---------------------     * }
  49. { *           1              0       2            Enter Program Data        * }
  50. { *           2              1       0            Print Program Results     * }
  51. { *                                                                         * }
  52. { *   When the menu subprogram executes, prompt 1 would be highlighted and  * }
  53. { *   prompt 2 would not.  If the operator struck the down key, prompt 2    * }
  54. { *   would now be highlighted and prompt 1 wouldn't.  If the user struck   * }
  55. { *   the down key again the menu subprogram would recognize that the down  * }
  56. { *   key pointer for prompt 2 is 0 and thus would only sound an error.     * }
  57. { *   The subprogram would not allow the user to curse any further          * }
  58. { *   downward.  The same sort of logic can be applied for the other key    * }
  59. { *   pointers.                                                             * }
  60. { *                                                                         * }
  61. { *   More documentation on how the menu subprogram uses a menu template    * }
  62. { *   for its operation can be found in the toolkit documentation file      * }
  63. { *   'Tsipp.Doc'.                                                          * }
  64. { *                                                                         * }
  65. { *************************************************************************** }
  66.  
  67.  
  68.  
  69. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  70. |Record |Prompt |Prompt |Up     |Down   |Left   |Right  |Prompt                             |
  71. |Number |Column |Row    |Key    |Key    |Key    |Key    |                                   |
  72. |       |       |       |Pointer|Pointer|Pointer|Pointer|                                   |
  73. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  74. |   1   |       |       |       |       |       |       |                                   |
  75. |       |       |       |       |       |       |       |                                   |
  76. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  77. |   2   |       |       |       |       |       |       |                                   |
  78. |       |       |       |       |       |       |       |                                   |
  79. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  80. |   3   |       |       |       |       |       |       |                                   |
  81. |       |       |       |       |       |       |       |                                   |
  82. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  83. |   4   |       |       |       |       |       |       |                                   |
  84. |       |       |       |       |       |       |       |                                   |
  85. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  86. |   5   |       |       |       |       |       |       |                                   |
  87. |       |       |       |       |       |       |       |                                   |
  88. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  89. |   6   |       |       |       |       |       |       |                                   |
  90. |       |       |       |       |       |       |       |                                   |
  91. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  92. |   7   |       |       |       |       |       |       |                                   |
  93. |       |       |       |       |       |       |       |                                   |
  94. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  95. |   8   |       |       |       |       |       |       |                                   |
  96. |       |       |       |       |       |       |       |                                   |
  97. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  98. |   9   |       |       |       |       |       |       |                                   |
  99. |       |       |       |       |       |       |       |                                   |
  100. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  101. |  10   |       |       |       |       |       |       |                                   |
  102. |       |       |       |       |       |       |       |                                   |
  103. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  104. |  11   |       |       |       |       |       |       |                                   |
  105. |       |       |       |       |       |       |       |                                   |
  106. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  107. |  12   |       |       |       |       |       |       |                                   |
  108. |       |       |       |       |       |       |       |                                   |
  109. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  110. |  13   |       |       |       |       |       |       |                                   |
  111. |       |       |       |       |       |       |       |                                   |
  112. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  113. |  14   |       |       |       |       |       |       |                                   |
  114. |       |       |       |       |       |       |       |                                   |
  115. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  116. |  15   |       |       |       |       |       |       |                                   |
  117. |       |       |       |       |       |       |       |                                   |
  118. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  119. |  16   |       |       |       |       |       |       |                                   |
  120. |       |       |       |       |       |       |       |                                   |
  121. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  122. |  17   |       |       |       |       |       |       |                                   |
  123. |       |       |       |       |       |       |       |                                   |
  124. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  125. |  18   |       |       |       |       |       |       |                                   |
  126. |       |       |       |       |       |       |       |                                   |
  127. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  128. |  19   |       |       |       |       |       |       |                                   |
  129. |       |       |       |       |       |       |       |                                   |
  130. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  131. |  20   |       |       |       |       |       |       |                                   |
  132. |       |       |       |       |       |       |       |                                   |
  133. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  134. |  21   |       |       |       |       |       |       |                                   |
  135. |       |       |       |       |       |       |       |                                   |
  136. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  137. |  22   |       |       |       |       |       |       |                                   |
  138. |       |       |       |       |       |       |       |                                   |
  139. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  140. |  23   |       |       |       |       |       |       |                                   |
  141. |       |       |       |       |       |       |       |                                   |
  142. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  143. |  24   |       |       |       |       |       |       |                                   |
  144. |       |       |       |       |       |       |       |                                   |
  145. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  146. |  25   |       |       |       |       |       |       |                                   |
  147. |       |       |       |       |       |       |       |                                   |
  148. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  149. |  26   |       |       |       |       |       |       |                                   |
  150. |       |       |       |       |       |       |       |                                   |
  151. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  152. |  27   |       |       |       |       |       |       |                                   |
  153. |       |       |       |       |       |       |       |                                   |
  154. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  155. |  28   |       |       |       |       |       |       |                                   |
  156. |       |       |       |       |       |       |       |                                   |
  157. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  158. |  29   |       |       |       |       |       |       |                                   |
  159. |       |       |       |       |       |       |       |                                   |
  160. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  161. |  30   |       |       |       |       |       |       |                                   |
  162. |       |       |       |       |       |       |       |                                   |
  163. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  164. |  31   |       |       |       |       |       |       |                                   |
  165. |       |       |       |       |       |       |       |                                   |
  166. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  167. |  32   |       |       |       |       |       |       |                                   |
  168. |       |       |       |       |       |       |       |                                   |
  169. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  170. |  33   |       |       |       |       |       |       |                                   |
  171. |       |       |       |       |       |       |       |                                   |
  172. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  173. |  34   |       |       |       |       |       |       |                                   |
  174. |       |       |       |       |       |       |       |                                   |
  175. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  176. |  35   |       |       |       |       |       |       |                                   |
  177. |       |       |       |       |       |       |       |                                   |
  178. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  179. |  36   |       |       |       |       |       |       |                                   |
  180. |       |       |       |       |       |       |       |                                   |
  181. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  182. |  37   |       |       |       |       |       |       |                                   |
  183. |       |       |       |       |       |       |       |                                   |
  184. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  185. |  38   |       |       |       |       |       |       |                                   |
  186. |       |       |       |       |       |       |       |                                   |
  187. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  188. |  39   |       |       |       |       |       |       |                                   |
  189. |       |       |       |       |       |       |       |                                   |
  190. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  191. |  40   |       |       |       |       |       |       |                                   |
  192. |       |       |       |       |       |       |       |                                   |
  193. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  194. |  41   |       |       |       |       |       |       |                                   |
  195. |       |       |       |       |       |       |       |                                   |
  196. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  197. |  42   |       |       |       |       |       |       |                                   |
  198. |       |       |       |       |       |       |       |                                   |
  199. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  200. |  43   |       |       |       |       |       |       |                                   |
  201. |       |       |       |       |       |       |       |                                   |
  202. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  203. |  44   |       |       |       |       |       |       |                                   |
  204. |       |       |       |       |       |       |       |                                   |
  205. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|
  206. |  45   |       |       |       |       |       |       |                                   |
  207. |       |       |       |       |       |       |       |                                   |
  208. |-------|-------|-------|-------|-------|-------|-------|-----------------------------------|