Full drag and drop support
One of the central features the Windows Explorer offers is the ability to move or copy files by dragging them with the mouse and dropping them on the desired location. Creating this effect in your application is easy: both components offer full drag and drop support as well as Vista-style drag icons and drag hints.
You can test the ShellBrowser Delphi Components's drag and drop capabilities in our JamExplorer sample application.
Drag and drop support for your controls: the TJamDropFiles and TJamDragFiles components
If you want to include drag and drop operations in your application without using the ShellTree or ShellList component, you can use the invisible TJamDropFiles or TJamDragFiles Delphi components.
By connecting it to any Delphi Control you can capture, control and implement Drag&Drop events (DragEnter, DragLeave, DragOver, Drop) raised for the connected control. TJamDragFiles does the reverse and enables any connected VCL control to start a shell drag operation.
You can attach event handlers to specify or receive a list of files that are being dragged and enable you to specify the intended DropEffect (none, copy, move, or link). You could, for example, add the names of specific files to a standard TListBox while rejecting other files (i.e. preventing them from being dropped).
With the help of TJamDropFiles and TJamDragFiles, any control can interact with the file system via Drag&Drop. More examples are available in our demo application JAMDragDrop.
We protect your privacy! The plug-in "Shariff" makes sure that your data will not be transferred to social networks unless you click one of the share buttons. Learn more.