home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / tool / various / dbgrid / dbtgrid.txt next >
Text File  |  1994-03-01  |  2KB  |  60 lines

  1. 'DBT Grid Action Constants
  2. 'Copyright (C) - 1994, by Douglas A. Bebber
  3. '
  4. 'These symbolic constants can be used in Visual Basic projects to
  5. 'symbolically specify DBT Grid specific information. A DBT_ has been
  6. 'placed before all constants in order to prevent possible conflicts with
  7. 'other products.
  8.  
  9. Global Const DBT_AbortEdit = 1
  10. Global Const DBT_BeginEdit = 2
  11. Global Const DBT_EndEdit = 3
  12. Global Const DBT_DeleteColumn = 4
  13. Global Const DBT_DeleteRow = 5
  14. Global Const DBT_GetFirstSelectedColumn = 6
  15. Global Const DBT_GetFirstSelectedRow = 7
  16. Global Const DBT_GetNextSelectedColumn = 8
  17. Global Const DBT_GetNextSelectedRow = 9
  18. Global Const DBT_InsertColumn = 10
  19. Global Const DBT_InsertRow = 11
  20. Global Const DBT_MoveColumn = 12
  21. Global Const DBT_MoveRow = 13
  22. Global Const DBT_ResetCellColor = 14
  23. Global Const DBT_ResetColumnColor = 15
  24. Global Const DBT_ResetRowColor = 16
  25. Global Const DBT_SetCellColor = 17
  26. Global Const DBT_SetColumnColor = 18
  27. Global Const DBT_SetRowColor = 19
  28.  
  29.  
  30. 'DBT Grid Reaction Codes:
  31.  
  32. Global Const DBT_Success = 0    'No error.
  33. 'Following are error codes
  34. Global Const DBT_InvalidOperation = 1
  35. Global Const DBT_InvalidAction = 2
  36. Global Const DBT_InvalidCell = 3
  37. Global Const DBT_InvalidColumnNumber = 4
  38. Global Const DBT_InvalidRowNumber = 5
  39. Global Const DBT_InvalidNumberOfColumns = 6
  40. Global Const DBT_InvalidNumberOfRows = 7
  41. Global Const DBT_InvalidColumnWidth = 8
  42.  
  43.             
  44. Global Const DBT_True = 1
  45. Global Const DBT_False = 0
  46.  
  47. Global Const DBT_Centered = 0
  48. Global Const DBT_Left = 1
  49. Global Const DBT_Right = 2        
  50. Global Const DBT_None = 0
  51. Global Const DBT_Letters = 1
  52. Global Const DBT_Numbers = 2
  53. Global Const DBT_UserDefined = 3
  54. Global Const DBT_SingleColumn = 1
  55. Global Const DBT_MultiColumn = 2
  56. Global Const DBT_RowButtons = 1
  57. Global Const DBT_RowNumbers = 2
  58. Global Const DBT_SingleRow = 1
  59. Global Const DBT_MultiRow = 2
  60.