Article ID: 181891
Article Last Modified on 11/18/2003
Private Sub List1_MouseDown(Button As Integer, Shift As Integer, _
X As Single, Y As Single)
List1.OLEDrag
End Sub
Control Default Name Property Setting
---------------------------------------------------------------
Text Box Text1 Text <Blank>
OLEDropMode 2 - Automatic
List Box List1 Columns 2
OLEDragMode 1 - Automatic
Option Explicit
Private Sub Form_Load()
Dim intCounter As Integer
' Add some test data to the ListBox
For intCounter = 1 To 100
List1.AddItem CStr(intCounter)
Next
End Sub
Private Sub List1_MouseDown(Button As Integer, Shift As Integer, _
X As Single, Y As Single)
' Uncomment the next line for a simple workaround.
'List1.OLEDrag
End Sub
Keywords: kbbug kbpending KB181891