I wanted to try to set an app that can accept dropped objects. So I added to the main window a DropObject event, but it does not work. When I try to drop a file into the window, it simply does nothing.
What am I missing ?
TIA
I wanted to try to set an app that can accept dropped objects. So I added to the main window a DropObject event, but it does not work. When I try to drop a file into the window, it simply does nothing.
What am I missing ?
TIA
Did you set up the acceptFileType() for the control? For example, to allow the user to drop EDL files onto my app, I add this to a ListBox’s Open event:
Me.AcceptFileDrop(FileTypes.EDL)
And the EDL type was added to the app’s global FileTypes module.
[quote=43544:@Tim Jones]Did you set up the acceptFileType() for the control? For example, to allow the user to drop EDL files onto my app, I add this to a ListBox’s Open event:
Me.AcceptFileDrop(FileTypes.EDL)
And the EDL type was added to the app’s global FileTypes module.[/quote]
Great, it works !
Thank you Tim.