MSDataGridLib, COM interface constants for VB.Net / VBScript

MSDataGridLib - interface constants

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

library parameters

File NameWINDOWS\system32\MSDATGRD.OCX
Guid{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}
Enums10

AddNewModeConstants

enum, 3 members.
  'AddNewMode Constants
Public Enum AddNewModeConstants

  'No AddNew
  dbgNoAddNew = 0  '&H0

  'AddNew Current
  dbgAddNewCurrent = 1  '&H1

  'AddNew Pending
  dbgAddNewPending = 2  '&H2
End Enum

AlignmentConstants

enum, 4 members.
  'Alignment Constants
Public Enum AlignmentConstants

  'Left
  dbgLeft = 0  '&H0

  'Right
  dbgRight = 1  '&H1

  'Center
  dbgCenter = 2  '&H2

  'General
  dbgGeneral = 3  '&H3
End Enum

AppearanceConstants

enum, 2 members.
  'Appearance Constants
Public Enum AppearanceConstants

  'Flat
  dbgFlat = 0  '&H0

  '3D
  dbg3D = 1  '&H1
End Enum

BorderStyleConstants

enum, 2 members.
  'BorderStyle Constants
Public Enum BorderStyleConstants

  'No Border
  dbgNoBorder = 0  '&H0

  'Single
  dbgFixedSingle = 1  '&H1
End Enum

DividerStyleConstants

enum, 7 members.
  'DividerStyle Constants
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

  'Use ForeColor
  dbgUseForeColor = 5  '&H5

  'Light Gray Line
  dbgLightGrayLine = 6  '&H6
End Enum

ErrorConstants

enum, 32 members.
  'Valid errors returned by the Datagrid control
Public Enum ErrorConstants

  'Out of memory
  dbgOutOfMemory = 7  '&H7

  'Subscript out of range
  dbgSubscriptRange = 9  '&H9

  'Type mismatch
  dbgTypeMismatch = 13  '&HD

  'Invalid property value
  dbgInvalidPropertyValue = 380  '&H17C

  'Invalid procedure call in safe mode
  dbgInvalidSafeModeProcCall = 680  '&H2A8

  'Invalid column index
  dbgColIndex = 6145  '&H1801

  'Invalid split index
  dbgSplitIndex = 6244  '&H1864

  'Column not found, |1
  dbgCNotFound = 6147  '&H1803

  'Invalid bookmark
  dbgInvBookmark = 6149  '&H1805

  'Data access error
  dbgDataAccess = 6160  '&H1810

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

  'Cannot initialize data bindings
  dbgBindError = 4097  '&H1001

  'Invalid row number
  dbgInvRowNum = 6148  '&H1804

  'Operation is invalid within the event
  dbgBadEvent = 6161  '&H1811

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

  'Cannot delete multiple rows
  dbgDelMultRows = 6159  '&H180F

  'Error occured while trying to delete record
  dbgDelError = 6155  '&H180B

  'Error occured while trying to add record
  dbgAddError = 6154  '&H180A

  'Error occured while trying to update record
  dbgUpdError = 6153  '&H1809

  'Error occured while trying to set current row
  dbgErrorSetCurrent = 6152  '&H1808

  'The rowset is not bookmarkable.
  dbgNotBookmarkable = 7004  '&H1B5C

  'Supporting object on the grid has been deleted
  dbgOrphaned = 7000  '&H1B58

  'An unknown error code was recieved in a place where we were not expecting one
  dbgUnknown = 7001  '&H1B59

  'Cannot delete last split
  dbgMustHaveSplit = 7002  '&H1B5A

  'Method is not available in this context
  dbgNoMethodNow = 7003  '&H1B5B

  'Rowset not available
  dbgNoRowset = 7005  '&H1B5D

  'Data type conversion error
  dbgConvertData = 7006  '&H1B5E

  'Error occured while trying to update the column value
  dbgErrUpdateColumn = 7007  '&H1B5F

  'The current row is not available
  dbgNoCurrentRow = 7008  '&H1B60

  'Can not find the row
  dbgNoRowFound = 7009  '&H1B61

  'The column is read only
  dbgColReadOnly = 7010  '&H1B62

  'Action is canceled
  dbgActionCanceled = 7011  '&H1B63
End Enum

MarqueeStyleConstants

enum, 7 members.
  'MarqueeStyle Constants
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

ScrollBarsConstants

enum, 5 members.
  'ScrollBar Constants
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

SplitSizeModeConstants

enum, 2 members.
  'SplitSizeMode Constants
Public Enum SplitSizeModeConstants

  'Scalable
  dbgScalable = 0  '&H0

  'Exact
  dbgExact = 1  '&H1
End Enum

TabActionConstants

enum, 3 members.
  'TabAction Constants
Public Enum TabActionConstants

  'Control Navigation
  dbgControlNavigation = 0  '&H0

  'Column Navigation
  dbgColumnNavigation = 1  '&H1

  'Grid Navigation
  dbgGridNavigation = 2  '&H2
End Enum
WUtils.com