FIX: MSHFlexgrid Clip Property Can't Get Data in Selected CellsID: Q223071
|
With the version of Hierarchical FlexGrid that ships with Visual Basic 6.0, the Clip property on the MSHFlexGrid control did not return the contents of the selected cells.
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3.
For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
Q194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why
Q194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
Private Sub Command1_Click()
MsgBox "Clip = " & MSHFlexGrid1.Clip
End Sub
Private Sub Form_Load()
With MSHFlexGrid1
.Rows = 4
.Cols = 4
.Row = 0
.Col = 0
.RowSel = 3
.ColSel = 3
.Clip = vbTab & 1 & vbTab & 2 & vbTab & 3 & vbCr & _
1 & vbTab & 1 & vbTab & 2 & vbTab & 3 & vbCr & _
2 & vbTab & 2 & vbTab & 4 & vbTab & 6 & vbCr & _
3 & vbTab & 3 & vbTab & 6 & vbTab & 9
.Row = 1
.Col = 1
.RowSel = 1
.ColSel = 1
End With
Command1.Caption = "Clip"
End Sub
Additional query words:
Keywords : kbservicepack kbCtrl kbVBp600bug kbVS600sp2 kbVS600SP1 kbVS600sp3fix kbGrpVBDB
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 20, 1999