home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
vb_code1
/
db_grid
/
dbtgrid.txt
next >
Wrap
Text File
|
1994-03-02
|
2KB
|
60 lines
'DBT Grid Action Constants
'Copyright (C) - 1994, by Douglas A. Bebber
'
'These symbolic constants can be used in Visual Basic projects to
'symbolically specify DBT Grid specific information. A DBT_ has been
'placed before all constants in order to prevent possible conflicts with
'other products.
Global Const DBT_AbortEdit = 1
Global Const DBT_BeginEdit = 2
Global Const DBT_EndEdit = 3
Global Const DBT_DeleteColumn = 4
Global Const DBT_DeleteRow = 5
Global Const DBT_GetFirstSelectedColumn = 6
Global Const DBT_GetFirstSelectedRow = 7
Global Const DBT_GetNextSelectedColumn = 8
Global Const DBT_GetNextSelectedRow = 9
Global Const DBT_InsertColumn = 10
Global Const DBT_InsertRow = 11
Global Const DBT_MoveColumn = 12
Global Const DBT_MoveRow = 13
Global Const DBT_ResetCellColor = 14
Global Const DBT_ResetColumnColor = 15
Global Const DBT_ResetRowColor = 16
Global Const DBT_SetCellColor = 17
Global Const DBT_SetColumnColor = 18
Global Const DBT_SetRowColor = 19
'DBT Grid Reaction Codes:
Global Const DBT_Success = 0 'No error.
'Following are error codes
Global Const DBT_InvalidOperation = 1
Global Const DBT_InvalidAction = 2
Global Const DBT_InvalidCell = 3
Global Const DBT_InvalidColumnNumber = 4
Global Const DBT_InvalidRowNumber = 5
Global Const DBT_InvalidNumberOfColumns = 6
Global Const DBT_InvalidNumberOfRows = 7
Global Const DBT_InvalidColumnWidth = 8
Global Const DBT_True = 1
Global Const DBT_False = 0
Global Const DBT_Centered = 0
Global Const DBT_Left = 1
Global Const DBT_Right = 2
Global Const DBT_None = 0
Global Const DBT_Letters = 1
Global Const DBT_Numbers = 2
Global Const DBT_UserDefined = 3
Global Const DBT_SingleColumn = 1
Global Const DBT_MultiColumn = 2
Global Const DBT_RowButtons = 1
Global Const DBT_RowNumbers = 2
Global Const DBT_SingleRow = 1
Global Const DBT_MultiRow = 2