mattkizerian
Technical User
I am having a very unsuccessful time trying to implement drag and drop between a treeview and a listview.
One problem seems to be in the declaration that Access VBA fills in for the OLEDragDrop event. The default declaration is something like:
Private Sub oListView_OLEDragDrop(Data As Object, Effect As Long....
But the online documentation (and even the object browser) define Data as a DataObject type. If I change the declaration to DataObject, I get an "Event declaration does not match description of event having the same name" error.
Any ideas???
One problem seems to be in the declaration that Access VBA fills in for the OLEDragDrop event. The default declaration is something like:
Private Sub oListView_OLEDragDrop(Data As Object, Effect As Long....
But the online documentation (and even the object browser) define Data as a DataObject type. If I change the declaration to DataObject, I get an "Event declaration does not match description of event having the same name" error.
Any ideas???