MSDBGrid, COM interface constants for VB.Net / VBScript

MSDBGrid - interface constants

     This page contains simple VBA include for the MSDBGrid COM library.

library parameters

File NameWINDOWS\system32\DBGRID32.OCX
Guid{00028C01-0000-0000-0000-000000000046}
Enums22

enumScrollBarsConstants

enum, 5 members.
  '(null)
Public Enum enumScrollBarsConstants

  'None
  _None = 0  '&H0

  'Horizontal
  _Horizontal = 1  '&H1

  'Vertical
  _Vertical = 2  '&H2

  'Both
  _Both = 3  '&H3

  'Automatic
  _Automatic = 4  '&H4
End Enum

ScrollBarsConstants

enum, 5 members.
  '(null)
Public Enum ScrollBarsConstants

  'None
  dbgNone = 0  '&H0

  'Horizontal
  dbgHorizontal = 1  '&H1

  'Vertical
  dbgVertical = 2  '&H2

  'Both
  dbgBoth = 3  '&H3

  'Automatic
  dbgAutomatic = 4  '&H4
End Enum

enumBorderStyleConstants

enum, 2 members.
  '(null)
Public Enum enumBorderStyleConstants

  'None
  _None = 0  '&H0

  'Fixed Single
  _FixedSingle = 1  '&H1
End Enum

BorderStyleConstants

enum, 2 members.
  '(null)
Public Enum BorderStyleConstants

  'None
  dbgNoBorder = 0  '&H0

  'Fixed Single
  dbgFixedSingle = 1  '&H1
End Enum

enumDividerStyleConstants

enum, 7 members.
  '(null)
Public Enum enumDividerStyleConstants

  'No dividers
  _NoDividers = 0  '&H0

  'Black line
  _BlackLine = 1  '&H1

  'Dark gray line
  _DarkGrayLine = 2  '&H2

  'Raised
  _Raised = 3  '&H3

  'Inset
  _Inset = 4  '&H4

  'ForeColor
  _UseForeColor = 5  '&H5

  'Light gray line
  _LightGrayLine = 6  '&H6
End Enum

DividerStyleConstants

enum, 7 members.
  '(null)
Public Enum DividerStyleConstants

  'No dividers
  dbgNoDividers = 0  '&H0

  'Black line
  dbgBlackLine = 1  '&H1

  'Dark gray line
  dbgDarkGrayLine = 2  '&H2

  'Raised
  dbgRaised = 3  '&H3

  'Inset
  dbgInset = 4  '&H4

  'ForeColor
  dbgUseForeColor = 5  '&H5

  'Light gray line
  dbgLightGrayLine = 6  '&H6
End Enum

enumAlignmentConstants

enum, 4 members.
  '(null)
Public Enum enumAlignmentConstants

  'Left
  _Left = 0  '&H0

  'Right
  _Right = 1  '&H1

  'Center
  _Center = 2  '&H2

  'General
  _General = 3  '&H3
End Enum

AlignmentConstants

enum, 4 members.
  '(null)
Public Enum AlignmentConstants

  'Left
  dbgLeft = 0  '&H0

  'Right
  dbgRight = 1  '&H1

  'Center
  dbgCenter = 2  '&H2

  'General
  dbgGeneral = 3  '&H3
End Enum

enumDataModeConstants

enum, 2 members.
  '(null)
Public Enum enumDataModeConstants

  'Bound
  _Bound = 0  '&H0

  'Unbound
  _Unbound = 1  '&H1
End Enum

DataModeConstants

enum, 2 members.
  '(null)
Public Enum DataModeConstants

  'Bound
  dbgBound = 0  '&H0

  'Unbound
  dbgUnbound = 1  '&H1
End Enum

enumSplitSizeModeConstants

enum, 3 members.
  '(null)
Public Enum enumSplitSizeModeConstants

  'Scalable
  _Scalable = 0  '&H0

  'Exact
  _Exact = 1  '&H1

  'Number of Columns
  _NumberOfColumns = 2  '&H2
End Enum

SplitSizeModeConstants

enum, 3 members.
  '(null)
Public Enum SplitSizeModeConstants

  'Scalable
  dbgScalable = 0  '&H0

  'Exact
  dbgExact = 1  '&H1

  'Number of Columns
  dbgNumberOfColumns = 2  '&H2
End Enum

enumTabActionConstants

enum, 3 members.
  '(null)
Public Enum enumTabActionConstants

  'Control Navigation
  _ControlNavigation = 0  '&H0

  'Column Navigation
  _ColumnNavigation = 1  '&H1

  'Grid Navigation
  _GridNavigation = 2  '&H2
End Enum

TabActionConstants

enum, 3 members.
  '(null)
Public Enum TabActionConstants

  'Control Navigation
  dbgControlNavigation = 0  '&H0

  'Column Navigation
  dbgColumnNavigation = 1  '&H1

  'Grid Navigation
  dbgGridNavigation = 2  '&H2
End Enum

enumAppearanceConstants

enum, 2 members.
  '(null)
Public Enum enumAppearanceConstants

  'Flat
  _Flat = 0  '&H0

  '3D
  _3D = 1  '&H1
End Enum

AppearanceConstants

enum, 2 members.
  '(null)
Public Enum AppearanceConstants

  'Flat
  dbgFlat = 0  '&H0

  '3D
  dbg3D = 1  '&H1
End Enum

enumMarqueeStyleConstants

enum, 7 members.
  '(null)
Public Enum enumMarqueeStyleConstants

  'Dotted Cell Border
  _DottedCellBorder = 0  '&H0

  'Solid Cell Border
  _SolidCellBorder = 1  '&H1

  'Highlight Cell
  _HighlightCell = 2  '&H2

  'Highlight Row
  _HighlightRow = 3  '&H3

  'Highlight Row, Raise Cell
  _HighlightRowRaiseCell = 4  '&H4

  'No Marquee
  _NoMarquee = 5  '&H5

  'Floating Editor
  _FloatingEditor = 6  '&H6
End Enum

MarqueeStyleConstants

enum, 7 members.
  '(null)
Public Enum MarqueeStyleConstants

  'Dotted Cell Border
  dbgDottedCellBorder = 0  '&H0

  'Solid Cell Border
  dbgSolidCellBorder = 1  '&H1

  'Highlight Cell
  dbgHighlightCell = 2  '&H2

  'Highlight Row
  dbgHighlightRow = 3  '&H3

  'Highlight Row, Raise Cell
  dbgHighlightRowRaiseCell = 4  '&H4

  'No Marquee
  dbgNoMarquee = 5  '&H5

  'Floating Editor
  dbgFloatingEditor = 6  '&H6
End Enum

enumAddNewModeConstants

enum, 3 members.
  '(null)
Public Enum enumAddNewModeConstants

  'No AddNew
  _NoAddNew = 0  '&H0

  'AddNew Current
  _AddNewCurrent = 1  '&H1

  'AddNew Pending
  _AddNewPending = 2  '&H2
End Enum

AddNewModeConstants

enum, 3 members.
  '(null)
Public Enum AddNewModeConstants

  'No AddNew
  dbgNoAddNew = 0  '&H0

  'AddNew Current
  dbgAddNewCurrent = 1  '&H1

  'AddNew Pending
  dbgAddNewPending = 2  '&H2
End Enum

enumErrorConstants

enum, 34 members.
  '(null)
Public Enum enumErrorConstants

  'Cannot initialize data bindings
  _BINDERROR = 4097  '&H1001

  'Invalid setting for @0 property
  _INVPROPVAL = 4098  '&H1002

  'Invalid column index
  _COLINDEX = 6145  '&H1801

  'Control not properly initialized
  _NOTINIT = 6146  '&H1802

  'Column not found
  _CNOTFOUND = 6147  '&H1803

  'Invalid row number
  _INVROWNUM = 6148  '&H1804

  'Invalid bookmark
  _INVBOOKMARK = 6149  '&H1805

  'Invalid selected row bookmark index
  _BADSELRIDX = 6150  '&H1806

  'Scroll arguments out of range
  _SCROLLRANGE = 6151  '&H1807

  'Invalid setting for ScrollBars property
  _INVSBSTYLE = 6152  '&H1808

  'Error occurred while trying to update record
  _UPDERROR = 6153  '&H1809

  'Error occurred while trying to add record
  _ADDERROR = 6154  '&H180A

  'Error occurred while trying to delete record
  _DELERROR = 6155  '&H180B

  'Data type mismatch during field update
  _COLDATA = 6156  '&H180C

  'Data type incompatible with column data type
  _INCOMPAT = 6157  '&H180D

  '@0 is not a valid data field name
  _FIELDERR = 6158  '&H180E

  'Cannot delete multiple rows
  _DELMULTROWS = 6159  '&H180F

  'Data access error
  _DATAACCESS = 6160  '&H1810

  'Operation is invalid within the event @0
  _BADEVENT = 6161  '&H1811

  'Property is not available in this context
  _NOPROPNOW = 6162  '&H1812

  'No current record
  _NOCURREC = 6163  '&H1813

  'Caption text is too long
  _CAPTOOLONG = 6164  '&H1814

  'Invalid split index
  _SPLITINDEX = 6244  '&H1864

  'Invalid value list index
  _VLINDEX = 6245  '&H1865

  'Error accessing value item
  _VITEMERR = 6246  '&H1866

  'Invalid style index
  _STYLEINDEX = 6247  '&H1867

  'Duplicate style name
  _DUPSTYLE = 6248  '&H1868

  'Error accessing style
  _STYLEERR = 6249  '&H1869

  'Error updating style
  _UPDSTYLE = 6250  '&H186A

  'Error removing style
  _REMSTYLE = 6251  '&H186B

  'Error adding cell condition
  _ADDCELLCOND = 6252  '&H186C

  'Invalid style name
  _STYLENAME = 6253  '&H186D

  'Error applying style
  _APPLYSTYLE = 6254  '&H186E

  'Bitmap is too large
  _BMPTOOLARGE = 6255  '&H186F
End Enum

ErrorConstants

enum, 34 members.
  '(null)
Public Enum ErrorConstants

  'Cannot initialize data bindings
  dbgBINDERROR = 4097  '&H1001

  'Invalid setting for @0 property
  dbgINVPROPVAL = 4098  '&H1002

  'Invalid column index
  dbgCOLINDEX = 6145  '&H1801

  'Control not properly initialized
  dbgNOTINIT = 6146  '&H1802

  'Column not found
  dbgCNOTFOUND = 6147  '&H1803

  'Invalid row number
  dbgINVROWNUM = 6148  '&H1804

  'Invalid bookmark
  dbgINVBOOKMARK = 6149  '&H1805

  'Invalid selected row bookmark index
  dbgBADSELRIDX = 6150  '&H1806

  'Scroll arguments out of range
  dbgSCROLLRANGE = 6151  '&H1807

  'Invalid setting for ScrollBars property
  dbgINVSBSTYLE = 6152  '&H1808

  'Error occurred while trying to update record
  dbgUPDERROR = 6153  '&H1809

  'Error occurred while trying to add record
  dbgADDERROR = 6154  '&H180A

  'Error occurred while trying to delete record
  dbgDELERROR = 6155  '&H180B

  'Data type mismatch during field update
  dbgCOLDATA = 6156  '&H180C

  'Data type incompatible with column data type
  dbgINCOMPAT = 6157  '&H180D

  '@0 is not a valid data field name
  dbgFIELDERR = 6158  '&H180E

  'Cannot delete multiple rows
  dbgDELMULTROWS = 6159  '&H180F

  'Data access error
  dbgDATAACCESS = 6160  '&H1810

  'Operation is invalid within the event @0
  dbgBADEVENT = 6161  '&H1811

  'Property is not available in this context
  dbgNOPROPNOW = 6162  '&H1812

  'No current record
  dbgNOCURREC = 6163  '&H1813

  'Caption text is too long
  dbgCAPTOOLONG = 6164  '&H1814

  'Invalid split index
  dbgSPLITINDEX = 6244  '&H1864

  'Invalid value list index
  dbgVLINDEX = 6245  '&H1865

  'Error accessing value item
  dbgVITEMERR = 6246  '&H1866

  'Invalid style index
  dbgSTYLEINDEX = 6247  '&H1867

  'Duplicate style name
  dbgDUPSTYLE = 6248  '&H1868

  'Error accessing style
  dbgSTYLEERR = 6249  '&H1869

  'Error updating style
  dbgUPDSTYLE = 6250  '&H186A

  'Error removing style
  dbgREMSTYLE = 6251  '&H186B

  'Error adding cell condition
  dbgADDCELLCOND = 6252  '&H186C

  'Invalid style name
  dbgSTYLENAME = 6253  '&H186D

  'Error applying style
  dbgAPPLYSTYLE = 6254  '&H186E

  'Bitmap is too large
  dbgBMPTOOLARGE = 6255  '&H186F
End Enum
WUtils.com