home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Database / CLIPR503.W96 / BROWSYS.C_ / BROWSYS.C
Text File  |  1995-06-26  |  3KB  |  77 lines

  1. /***
  2. *
  3. *  Browsesys.ch
  4. *
  5. *  Standard definitions for tBrowse entry System
  6. *
  7. *  Copyright (c) 1990-1994, Computer Associates International, Inc.
  8. *  All rights reserved.
  9. *
  10. */
  11. /*****************************************************************************
  12. *  BrowSys Common Data Structures:
  13. *
  14. *  aColInfo is an array that describes a column to be included in a browse.
  15. *           It consists of the following information:
  16. *
  17. * aColInfo[ TBC_OWNERCOL   ] field name or array element of cell data.
  18. * aColInfo[ TBC_COLORBLOCK ] The column object's ColorBlock instance var.
  19. * aColInfo[ TBC_COLSEP     ] The column object's ColSep instance var.
  20. * aColInfo[ TBC_DEFCOLOR   ] The column object's DefColor instance var.
  21. * aColInfo[ TBC_FOOTING    ] The column object's Footing instance var.
  22. * aColInfo[ TBC_FOOTSEP    ] The column object's FootSep instance var.
  23. * aColInfo[ TBC_HEADING    ] The column object's Heading instance var.
  24. * aColInfo[ TBC_HEADSEP    ] The column object's HeadSep instance var.
  25. * aColInfo[ TBC_WIDTH      ] The column object's Width instance var.
  26. * aColInfo[ TBC_PICTURE    ] The column object's Picture instance var.
  27. * aColInfo[ TBC_PREBLOCK   ] The column object's PreBlock instance var.
  28. * aColInfo[ TBC_POSTBLOCK  ] The column object's PostBlock instance var.
  29. * aColInfo[ TBC_CANWRITE   ] The column object's read/write flag.
  30. *
  31. *
  32. *
  33. *  aTBinfo  is an multi dimentional array that describes the browse.  It
  34. *           consists of the following information:
  35. *
  36. * aInfo[ TBR_BROWSE      ] The actual tBrowse Object.
  37. * aInfo[ TBR_SAVESCREEN  ] The screen under the browse.
  38. * aInfo[ TBR_REFERENCE   ] reference to the array (when not a dbf).
  39. * aInfo[ TBR_POSITION    ] current position in dbf or array.
  40. * aInfo[ TBR_FILTERBLOCK ] filter code block.
  41. * aInfo[ TBR_SEEKBLOCK   ] seek code block.
  42. * aInfo[ TBR_BBLOCK      ] go to last record in filter code block.
  43. * aInfo[ TBR_COLINFO     ] array of field numbers or array elements of columns.
  44. *
  45. */
  46.  
  47. #DEFINE TBC_OWNERCOL    1
  48. #DEFINE TBC_COLORBLOCK  2
  49. #DEFINE TBC_COLSEP      3
  50. #DEFINE TBC_DEFCOLOR    4
  51. #DEFINE TBC_FOOTING     5
  52. #DEFINE TBC_FOOTSEP     6
  53. #DEFINE TBC_HEADING     7
  54. #DEFINE TBC_HEADSEP     8
  55. #DEFINE TBC_WIDTH       9
  56. #DEFINE TBC_PICTURE     10
  57. #DEFINE TBC_PREBLOCK    11
  58. #DEFINE TBC_POSTBLOCK   12
  59. #DEFINE TBC_CANWRITE    13
  60. #DEFINE TBC_ELEMENTS    13
  61.  
  62. #DEFINE TBR_BROWSE       1
  63. #DEFINE TBR_SAVESCREEN   2
  64. #DEFINE TBR_REFERENCE    3
  65. #DEFINE TBR_POSITION     4
  66. #DEFINE TBR_FILTERBLOCK  5
  67. #DEFINE TBR_SEEKBLOCK    6
  68. #DEFINE TBR_BBLOCK       7
  69. #DEFINE TBR_COLINFO      8
  70. #DEFINE TBR_COLPOSITION         1
  71. #DEFINE TBR_COLNAME             2
  72. #DEFINE TBR_COLELEMENTS         2
  73. #DEFINE TBR_ELEMENTS     8
  74.  
  75.  
  76. 
  77.