Jean-Marc Kiener Posted July 6, 2020 Posted July 6, 2020 Hello gurus, I want to drag and drop files from explorer/finder to a tunimDBGrid, TunimList or TunimDBList. Is this possible? I cannot find an example how to do this. Maybe Drag and Drop is not supported by UniGUI Mobile components?
Sherzod Posted July 6, 2020 Posted July 6, 2020 1 hour ago, Jean-Marc Kiener said: I want to drag and drop files from explorer/finder to a tunimDBGrid, TunimList or TunimDBList. Is this possible? Hello, As I understand it, you are using a mobile application. But where will it work? Do you want to use a desktop browser?
Jean-Marc Kiener Posted July 6, 2020 Author Posted July 6, 2020 Yes. I will use it in a iframe (p.e. 640px x 400px) in a website. And i will also use it on tablet and mobile in full screen. It is an kind of assistant you can go through step by step until the process is finished. On mobile devices we need of course no drag drop, we will use a file browser to get a list of file. On desktop we want to let the user drag and drop files from explorer/finder. My bosses want to use the mobile components everywhere because they looks and feels better on mobile and looks also nice on desktop. So i try to avoid the overhead of a hybrid app and want to do all the requirements with the mobile components. The only difficulties i have is to find out if i can handle both, getting files by drag and drop in al unilist/unidbgrid and getting files per file browser button. The rest of the assistant is exactly the same.
Sherzod Posted July 6, 2020 Posted July 6, 2020 25 minutes ago, Jean-Marc Kiener said: On desktop we want to let the user drag and drop files from explorer/finder. My bosses want to use the mobile components everywhere because they looks and feels better on mobile and looks also nice on desktop. Need to investigate. Have you tried any solutions, maybe found a ready solution on other thematic forums?
Jean-Marc Kiener Posted July 6, 2020 Author Posted July 6, 2020 Not in mobile forum. Have to look in other forums..
Jean-Marc Kiener Posted July 7, 2020 Author Posted July 7, 2020 @Tim has made a example of drag and drop with UniGUI Mobile. I will check it...
Jean-Marc Kiener Posted July 7, 2020 Author Posted July 7, 2020 At moment drag and drop works only on the mainform. This example from Tim works. I need to drag and drop files in another form or in a frame. Any suggestions? MobileUploads.zip
Jean-Marc Kiener Posted July 7, 2020 Author Posted July 7, 2020 TIm helped me: you have to adjust the javascript code behind the TUnimHTMLFrame.HTML propertie to get work that on another form/frame.
Recommended Posts