Intercepting drag and drop files in to the webgadget?
Posted: Wed Feb 28, 2007 8:14 pm
Hello
Im coding some listview in the webgadget because im adding some additional features like animation, etc.
It works fine now, i can add files to my webgadget listview from openfilerequester, etc. I mean, its interacting with my PB code as its was more or less a gadget.
The problem im facing is that if user try to drag a file into this webgadget based listview it could do one of 2 things: navigate to the file (if its possible like if its an image) or try to open it if its another kind of file.
Im looking for a way to avoid this, trying to intercept the drag and drop of files into webgadget to know which file was dragged and stop webgadget to doing anything about.
Any help is welcome.
*Additional comment:
I am trying to use webgadget adn AJAX to make the GUI of my app, but using those webgadget gadgets as it was more or less PB gadgets, and im finding very nice results (specially visual ones)
Im coding some listview in the webgadget because im adding some additional features like animation, etc.
It works fine now, i can add files to my webgadget listview from openfilerequester, etc. I mean, its interacting with my PB code as its was more or less a gadget.
The problem im facing is that if user try to drag a file into this webgadget based listview it could do one of 2 things: navigate to the file (if its possible like if its an image) or try to open it if its another kind of file.
Im looking for a way to avoid this, trying to intercept the drag and drop of files into webgadget to know which file was dragged and stop webgadget to doing anything about.
Any help is welcome.
*Additional comment:
I am trying to use webgadget adn AJAX to make the GUI of my app, but using those webgadget gadgets as it was more or less PB gadgets, and im finding very nice results (specially visual ones)