PRB: Enumerated Data Types in DBGRID32.OCX
Article ID: 191835
Article Last Modified on 5/13/2003
APPLIES TO
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 6.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q191835
SYMPTOMS
When using the Microsoft Data Bound Grid Control (DBGRID32.OCX) in Visual
Basic, one of two symptoms can occur:
- The autolist may not drop down enumerated types for some declared
properties.
-or-
- In the Object Browser, some enumerated types cannot be viewed because
they are hidden.
CAUSE
The enum data types for the Data Bound Grid Control are defined in the Type
Library. The constants defined in the those enum data types are hidden;
therefore, you cannot view the contents of the enum datatypes.
RESOLUTION
If you are declaring a variable as:
Dim x As enumSplitSizeModeConstants
then this should be modified to read:
Dim x As SplitSizeModeConstants
STATUS
This behavior is by design.
Additional query words: kbDSupport kbDSD kbVBp kbVBp500 kbVBp600 kbCtrl
Keywords: kbprb KB191835