BUG: OLE Drag Disabled When ListBox Has Multiple ColumnsLast reviewed: March 2, 1998Article ID: Q181891 |
The information in this article applies to:
SYMPTOMSA listbox control is set to more than one column and the OLEDragMode property is set to Automatic to allow for OLE Drag-and-Drop. When you attempt to drag an item to another control from any column of the listbox other than the first, the item is not copied to the target control as expected.
RESOLUTIONTo work around this problem, initiate the drag from the listbox using the OLEDrag method. For example, you would add code such as the following to the MouseDown event of the "multi-column" listbox:
Private Sub List1_MouseDown(Button As Integer, Shift As Integer, _
X As Single, Y As Single)
List1.OLEDrag
End Sub
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
Keywords : vb5all Version : WINDOWS:5.0 Platform : WINDOWS Issue type : kbbug Solution Type : kbpending |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |