Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to drag-and-drop between treeview & listview???

Status
Not open for further replies.

mattkizerian

Technical User
Apr 10, 2002
4
US
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???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top