I tried with a simple web app that can upload and save files to my Firebird database BLOB column. I have a few questions now:
Is it possible to add more than one files at a time in the WebFileUploader (the + button)?
Can I drag from Windows desktop and drop pictures to the WebFileUploader directly?
If answer to Q2 is negative, can I add files to WebFileUploader by code? I want to let use to drop files in a textarea (or weblist if possible), then I can add the files to the Uploader by code.
WebControl.AcceptPictureDrop requires a parameter ( acceptedActions As Integer ), what is acceptedActions?
By doing nothing, if the user drag a file to my webapp, the web app change its page and show the file, how can I disable this?
And, yes, it would have to be added to each WebPage. I don’t think that would be necessary for dialogs. The listener should block drop files for the whole WebPage, including dialogs. But you may want to experiment.
Issues with Xojo Web are browser specific. Drag and drop is working here on macOS 10.14.2 and Firefox. When having issues with Xojo Web it is essential to let them know which web browser and OS you are using when you file a bug report
but! you can “easily” write your own Upload-Control, which loads the file to your server after the drop. Done several times on the Internet. What you have to do in xojo is, that your control receives the native paths of the uploaded files.
I think I’ve seen this before also implemented in xojo, maybe in Jeremy Leroy control library.