home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 24 / CD_ASCQ_24_0995.iso / vrac / homonlib.zip / PARM.INC < prev    next >
Text File  |  1995-04-13  |  2KB  |  43 lines

  1. 'parm(1 to 10) - Usage varies with each function.  See the function source
  2. ' for the appropriate assignments.
  3.  
  4. 'Min/Max settings:
  5. ' These constants are used to identify the lower and upper bounds of the 
  6. ' pre-defined parm() elements.  Use MAXPARM when creating your parm() array.
  7.  
  8. CONST MINPARM = 11       'Start of the pre-defined parm() elements.
  9. CONST MAXPARM = 25       'Upper boundary of parm() array.
  10.  
  11. 'Screen Colors:  
  12. ' (FG = Foreground, BG = Background)  
  13. ' All the library functions that accept parm() as an argument assume that the 
  14. ' screen colors are currently set as COLOR parm(FGN),parm(BGN) and will 
  15. ' restore this color setting upon exit.  If you remember this, your code and
  16. ' the library functions will get along just fine.
  17.  
  18. CONST MINCOLOR = 11      'First screen color element.
  19. CONST MAXCOLOR = 23      'Last screen color element.
  20.  
  21. CONST FGN = 11           'Normal FG
  22. CONST BGN = 12           'Normal BG
  23. CONST FGH = 13           'Highlighted FG
  24. CONST FGD = 14           'Dimmed FG
  25. CONST FGS = 15           'Selected FG
  26. CONST BGS = 16           'Selected BG
  27. CONST FGDS = 17          'Dimmed Selected FG
  28. CONST FGWB = 18          'Window Border FG
  29. CONST BGWB = 19          'Window Border BG
  30. CONST FGWT = 20          'Window Text FG
  31. CONST BGWT = 21          'Window Text BG
  32. CONST FGWS = 22          'Window Selected FG
  33. CONST BGWS = 23          'Window Selected BG
  34.  
  35. 'View Print settings:  
  36. ' These constants are used to reset the viewport after using the SCREEN 
  37. ' function.  To make sure the values remain current, use the SetView() sub 
  38. ' whenever changing the viewport instead of using VIEW PRINT directly.
  39.  
  40. CONST VPTOP = 24         'VIEW PRINT top setting
  41. CONST VPBOT = 25         'VIEW PRINT bottom setting
  42.  
  43.