Sign in Join
FPDoc Onlineexperiment

TDropFilesEvent procedure type

In unit Forms

Type used for an OnDropFiles event handler.

Declaration

pascal
TDropFilesEvent = procedure(Sender: TObject; 
 const FileNames: Array of string = string)
 of object

Arguments

Sender

The object (TCustomForm) for the dropped files notification.

FileNames

Array with the list of file names for the drop event.

Description

TDropFilesEvent is an object procedure which specifies an event handler triggered when files are dropped on a drag and drop-enabled control.

TDropFilesEvent is the type used to implement the OnDropFiles property in TCustomForm and TApplication. Applications must implement a procedure using the signature for the event handler, and assign it to the property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.