Drag & Drop files?
BlitzMax Forums/MaxGUI Module/Drag & Drop files?| 
 | ||
| Hi! Is it possible to drag & drop files on a maxgui app window or panel or listbox (cross-platform solution)? Thanks Grisu | 
| 
 | ||
| Create the window with WINDOW_ACCEPTFILES flag. | 
| 
 | ||
| Could you please give a simple example code? "EVENT_WINDOWACCEPT A file was dropped onto a Window with the WINDOW_ACCEPTFILES style. The Event Extra object holds the filepath." Why not add a simple example to the docs for this... :( | 
| 
 | ||
| Why? You catch the event and the extra object is a string containing the filepath. Which you can then use to do certain operations on. | 
| 
 | ||
| I've added this example to the online documentation... | 
| 
 | ||
| Thanks a lot! | 
| 
 | ||
| ..very nice..thanks man.. | 
| 
 | ||
| Just what I was looking for. Cheers. |