home *** CD-ROM | disk | FTP | other *** search
/ HTBasic 9.3 / HTBasic 9.3.iso / 93win / data1.cab / Basic_Plus / CONFIG < prev    next >
Encoding:
Text File  |  2005-03-02  |  12.5 KB  |  256 lines

  1. 1    !# RE-SAVE "CONFIG"
  2. 2    !
  3. 3    !#                            N O T E
  4. 4    !# This configuration file allows you to customize certain parameters of
  5. 5    !# BPLUS.  Invalid values can render BPLUS practically unusable, until
  6. 6    !# corrected.  Before modifying any values, make sure you understand the
  7. 7    !# effects of your changes.
  8. 8    !
  9. 9    !# The HTBasic for Windows SETUP program makes no attempt to preserve any
  10. 10   !# modifications to any existing CONFIG file(s).
  11. 11   !
  12. 12   !# This BPLUS CONFIG file MUST be SAVED/RE-SAVED into a regular DOS type
  13. 13   !# file. If you use any editor other than HTBasic for Windows, save the
  14. 14   !# file as standard ASCII text. In this case, the line numbers through
  15. 15   !# initial exclamation point (e.g., "120   !") are optional. If using the
  16. 16   !# HTBasic for Windows editor, use one of the following methods to save
  17. 17   !# this file:
  18. 18   !
  19. 19   !# a. RE-SAVE "CONFIG" into copy of original CONFIG (preserves file type).
  20. 20   !#
  21. 21   !# b. CONFIGURE SAVE ASCII OFF
  22. 22   !#    SAVE "CONFIG"
  23. 23   !#
  24. 24   !# c. CREATE "CONFIG",1
  25. 25   !#    RE-SAVE "CONFIG"
  26. 26   !
  27. 27   !# BPLUS searches for CONFIG (after LOAD BIN "BPLUS" or SCRATCH A) in the
  28. 28   !# following locations (listed in search order):
  29. 29   !#   CONFIG in current MSI
  30. 30   !#   $HOME/CONFIG  ($HOME is typically your login directory)
  31. 31   !#   install location on current msus, typically c:\Program Files\HTBWIN\CONFIG
  32. 33   !#   if current msus <> install msus, repeat above two for install msus
  33. 34   !
  34. 35   !
  35. 36   !@ system MSI
  36. 37   !# The directory and (optional) msvs of the location BPLUS first looks for
  37. 38   !# ancilliary files (widgets, bitmaps, help, etc.), e.g., C:/BPLUS
  38. 39   !# C:/BPLUS
  39. 40   !
  40. 41   !@ system font
  41. 42   !# The default is that used by HTBasic for Windows; otherwise, specify
  42. 43   !# request in <width>X<height> format, e.g. 8X16
  43. 44   !  default
  44. 45   !
  45. 46   !@ SLIDER widget
  46. 47   !  initial_delay  500  # Delay before auto-repeat starts (milliSec.)
  47. 48   !  repeat_delay   100  # Delay between auto_repeat scrolls (milliSec.)
  48. 49   !
  49. 50   !@ context help
  50. 51   !  provide_defaults    true # Default widget's help topic is widget's name
  51. 52   !  f1_is_help          true # key f1 provides help for widget with focus
  52. 53   !  rht_ms_btn_is_help  true # right mouse button provides widget help
  53. 54   !  help_in_popup       true # help topics will be displayed in popup window
  54. 55   !
  55. 56   !@ Screen Builder widget order
  56. 57   !# This section defines which widgets are loaded into the Screen Builder
  57. 58   !# and the order in which they are displayed. The default order matches
  58. 59   !# that in previous versions of BPLUS; however, a more convenient order
  59. 60   !# might be alphabetical.
  60. 61   !  PANEL
  61. 62   !  PULLDOWN MENU
  62. 63   !  CASCADE MENU
  63. 64   !  MENU BUTTON
  64. 65   !  MENU TOGGLE
  65. 66   !  MENU SEPARATOR
  66. 67   !  SEPARATOR
  67. 68   !  PUSHBUTTON
  68. 69   !  RADIOBUTTON
  69. 70   !  TOGGLEBUTTON
  70. 71   !  SCROLLBAR
  71. 72   !  LABEL
  72. 73   !  STRING
  73. 74   !  NUMBER
  74. 75   !  KEYPAD
  75. 76   !  LIST
  76. 77   !  COMBO
  77. 78   !  BAR
  78. 79   !  BARS
  79. 80   !  FILE
  80. 81   !  LIMITS
  81. 82   !  METER
  82. 83   !  PRINTER
  83. 84   !  SLIDER
  84. 85   !  STRIPCHART
  85. 86   !  XY GRAPH
  86. 87   !  BITMAP
  87. 88   !  HPGL VIEW
  88. 89   !  CLOCK
  89. 90   !
  90. 91   !@ logical pens
  91. 92   !# This logical pen table specifies which physical pen to use for a
  92. 93   !# specified logical pen.  The actual color of the physical pen is
  93. 94   !# specified in the physical pen table. The contents of this is the
  94. 95   !# same as previous versions of BPLUS for compatibility; however,
  95. 96   !# only the following logical pens are used in HTBasic for Windows:
  96. 97   !# AppBackground, AppTbarForeground, DialogBoxBackground,
  97. 98   !# DialogBoxForeground, GraphBackground, GraphTrace1, GraphTrace2,
  98. 99   !# GraphTrace3, GraphTrace4, GraphTrace5, GraphTrace6, GraphTrace7,
  99. 100  !# GraphTrace8, GrayForeground, ListBoxBackground, ListBoxForeground,
  100. 101  !# ScrollBars, WidgetGreen, WidgetRed, WidgetWhite, WidgetYellow,
  101. 102  !# WindowBackground, WindowForeground, WindowFrame.
  102. 103  !#
  103. 104  !#                           physical pen for system containing ...
  104. 105  !# pen  pen name              2 pens  16 pens  64 pens  256 pens
  105. 106  !  0     ActiveBorder            0       14      14       30
  106. 107  !  1     ActiveTitleBar          1       14      14       30
  107. 108  !  2     ActiveTBarForeground    0       1       1        17
  108. 109  !  3     AppBackground           0       9       9        25
  109. 110  !  4     AppBorder               0       14      14       30
  110. 111  !  5     AppTitleBar             0       14      14       30
  111. 112  !  6     AppTBarForeground       1       1       1        17
  112. 113  !  7     ButtonBackground        0       11      11       27
  113. 114  !  8     ButtonForeground        1       0       0        16
  114. 115  !  9     DialogBoxBackground     0       8       8        24
  115. 116  !  10    DialogBoxBorder         1       14      14       30
  116. 117  !  11    DialogBoxForeground     1       1       1        17
  117. 118  !  12    DialogBoxTitleBar       0       13      13       29
  118. 119  !  13    DialogBoxTBarForeground 1       1       1        17
  119. 120  !  14    ErrorTitleBar           0       2       2        18
  120. 121  !  15    GrayForeground          0       15      15       31
  121. 122  !  16    Highlight               1       13      13       29
  122. 123  !  17    HighlightForeground     0       3       3        19
  123. 124  !  18    HyperText               1       6       6        22
  124. 125  !  19    InactiveBorder          0       11      11       27
  125. 126  !  20    InactiveTitleBar        0       11      11       27
  126. 127  !  21    InactiveTBarForeground  1       0       0        16
  127. 128  !  22    ITGDisplayTraceBlue     1       5       5        21
  128. 129  !  23    ITGDIsplayTraceGreen    1       4       4        20
  129. 130  !  24    ITGPushButton           0       12      12       28
  130. 131  !  25    ITGResetButton          0       10      10       26
  131. 132  !  26    ListBoxForeground       1       0       0        16
  132. 133  !  27    ListBoxBackground       0       15      15       31
  133. 134  !  28    MenuBar                 0       11      11       27
  134. 135  !  29    MenuForeground          1       0       0        16
  135. 136  !  30    PopupWindowBackground   0       8       8        24
  136. 137  !  31    PopupWindowFrame        1       0       0        16
  137. 138  !  32    PopupWindowForeground   1       1       1        17
  138. 139  !  33    ScrollBars              0       11      11       27
  139. 140  !  34    WindowBackground        0       1       1        17
  140. 141  !  35    WindowFrame             1       0       0        16
  141. 142  !  36    WindowForeground        1       0       0        16
  142. 143  !  37    Workspace               0       15      15       31
  143. 144  !  38    WorkspaceBorder         0       14      14       30
  144. 145  !  39    WorkspaceTitleBar       0       14      14       30
  145. 146  !  40    WorkspaceTBarForeground 1       0       0        16
  146. 147  !  41    WidgetGreen             1       4       4        20
  147. 148  !  42    WidgetYellow            1       3       3        19
  148. 149  !  43    WidgetRed               1       2       2        18
  149. 150  !  44    WidgetWhite             1       1       1        17
  150. 151  !  45    GraphBackground         0       13      13       29
  151. 152  !  46    GraphTrace1             1       3       3        19
  152. 153  !  47    GraphTrace2             1       5       5        21
  153. 154  !  48    GraphTrace3             1       7       7        23
  154. 155  !  49    GraphTrace4             1       4       4        20
  155. 156  !  50    GraphTrace5             1       2       2        18
  156. 157  !  51    GraphTrace6             1       14      14       30
  157. 158  !  52    GraphTrace7             1       11      11       27
  158. 159  !  53    GraphTrace8             1       1       1        17
  159. 160  !  54    RMBBackground           0       0       0        0
  160. 161  !  55    AppBackgroundCmp        1       6       54       230
  161. 162  !  56    WindowBackgroundCmp     1       14      62       238
  162. 163  !  57    PopupBackgroundCmp      1       7       55       231
  163. 164  !  58    DialogBoxBackgroundCmp  1       7       55       231
  164. 165  !
  165. 166  !@ settable pens
  166. 167  !# This section specifies which pens BPLUS is allowed to set.  The
  167. 168  !# default is all pens.  You should minimally allow the pens referenced
  168. 169  !# by the above logical pen table (those pens are listed first in the
  169. 170  !# following lists).  Some widgets require more colors than those defined
  170. 171  !# in the logical pen table:  those additional colors will be allocated
  171. 172  !# from the list of settable pens.  However, a logical pen's color will
  172. 173  !# never be changed.  If a widget wants more colors than are settable, it
  173. 174  !# will use existing colors on a closest match basis.
  174. 175  !#
  175. 176  !  16_pen_system    0-15
  176. 177  !  64_pen_system    0-15, 54, 55, 62, 16-63
  177. 178  !  256_pen_system   16-31, 230, 231, 238, 0-15, 32-255
  178. 179  !
  179. 180  !@ physical pens
  180. 181  !# This physical pen table specifies the color map value set for a
  181. 182  !# specified physical pen.  If an entry for a required pen isn't
  182. 183  !# currently provided in the table (e.g., pens 32-47), insert as
  183. 184  !# required.  The actual display's color map is only altered for the pens
  184. 185  !# that are referenced by a logical pen from the above logical pen table
  185. 186  !# and are settable as specified above for the current graphics system
  186. 187  !# (2-pen, 16-pen, 64-pen, or 256-pen).
  187. 188  !#
  188. 189  !# PEN   COLOR           RED     GREEN   BLUE
  189. 190  !  0     black           0       0       0
  190. 191  !  1     white           255     255     255
  191. 192  !  2     red             255     0       0
  192. 193  !  3     yellow          255     255     0
  193. 194  !  4     green           0       255     0
  194. 195  !  5     cyan            0       255     255
  195. 196  !  6     blue            0       0       255
  196. 197  !  7     magenta         255     0       255
  197. 198  !  8     dialog gray     162     156     146
  198. 199  !  9     parchment white 220      211     184
  199. 200  !  10    forest green    70      180     70
  200. 201  !  11    inactive gray   176     174     169
  201. 202  !  12    evening gold    150     110     75
  202. 203  !  13    french gray     105     95      80
  203. 204  !  14    lavender        119     123     200
  204. 205  !  15    beige gray      148     139     123
  205. 206  !
  206. 207  !  16    black           0       0       0
  207. 208  !  17    white           255     255     255
  208. 209  !  18    red             255     0       0
  209. 210  !  19    yellow          255     255     0
  210. 211  !  20    green           0       255     0
  211. 212  !  21    cyan            0       255     255
  212. 213  !  22    blue            0       0       255
  213. 214  !  23    magenta         255     0       255
  214. 215  !  24    dialog gray     162     156     146
  215. 216  !  25    parchment white 220     211     184
  216. 217  !  26    forest green    70      180     70
  217. 218  !  27    inactive gray   176     174     169
  218. 219  !  28    evening gold    150     110     75
  219. 220  !  29    french gray     105     95      80
  220. 221  !  30    lavender        119     123     200
  221. 222  !  31    beige gray      148     139     123
  222. 223  !
  223. 224  !  48    black           0       0       0
  224. 225  !  49    white           255     255     255
  225. 226  !  50    red             255     0       0
  226. 227  !  51    yellow          255     255     0
  227. 228  !  52    green           0       255     0
  228. 229  !  53    cyan            0       255     255
  229. 230  !  54    blue            0       0       255
  230. 231  !  55    magenta         255     0       255
  231. 232  !  56    dialog gray     162     156     146
  232. 233  !  57    parchment white 220     211     184
  233. 234  !  58    forest green    70      180     70
  234. 235  !  59    inactive gray   176     174     169
  235. 236  !  60    evening gold    150     110     75
  236. 237  !  61    french gray     105     95      80
  237. 238  !  62    lavender        119     123     200
  238. 239  !  63    beige gray      148     139     123
  239. 240  !
  240. 241  !  240   black           0       0       0
  241. 242  !  241   white           255     255     255
  242. 243  !  242   red             255     0       0
  243. 244  !  243   yellow          255     255     0
  244. 245  !  244   green           0       255     0
  245. 246  !  245   cyan            0       255     255
  246. 247  !  246   blue            0       0       255
  247. 248  !  247   magenta         255     0       255
  248. 249  !  248   dialog gray     162     156     146
  249. 250  !  249   parchment white 220     211     184
  250. 251  !  250   forest green    70      180     70
  251. 252  !  251   inactive gray   176     174     169
  252. 253  !  252   evening gold    150     110     75
  253. 254  !  253   french gray     105     95      80
  254. 255  !  254   lavender        119     123     200
  255. 256  !  255   beige gray      148     139     123
  256.