TscFileDrop 1.1

By Stefan Cruysberghs

GPL 07 Aug 2015

In category

Components > System > Drag and Drop

Description

By adding this small Delphi component to your form, you can accept the files which are dropped from Windows Explorer to your form. You can also specify which file extensions are allowed.

Dragging and dropping files from the Windows Explorer on your application form, can not be implemented with the standard events like OnDrag and OnDrop. You need to capture some Windows messages (WM_DROPFILES) and call some API functions like DragQueryFile and DragFinish. This component has encapsulated them all. You only have to add it to your form and implement the OnDrop event.

Informations

  • Status: Fully functional
  • Source: GPL
  • Size: 3 670kB

Platforms:

  • Delphi 2005 (VCL)
  • Delphi 2006 (Win32)
  • Delphi 2007 (VCL)
  • Delphi 5
  • Delphi 6
  • Delphi 7

Downloads