Article ID: 192209
Article Last Modified on 5/13/2003
List1.OLEDragSample code is shown in the MORE INFORMATION section below.
Private Sub Form_Load()
Dim i As Integer
Text1.Text = ""
' List1.Columns = 2 ' Cannot be set to multicolumn at runtime
List1.OLEDragMode = 1
Text1.OLEDropMode = 2
For i = 1 To 130
List1.AddItem Str$(i)
Next i
End Sub
Private Sub List1_MouseMove(Button As Integer, Shift As Integer, _
X As Single, Y As Single)
If Button = 1 Then
List1.OLEDrag
End If
End Sub
Additional query words: kbDSupport kbDSD kbVBp kbVBp600bug kbVBp500bug kbListBox
Keywords: kbbug kbpending KB192209