Unit 'Forms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCustomForm.OnDropFiles

Handler called when files have been dropped.

Declaration

Source position: forms.pp line 735

public property TCustomForm.OnDropFiles : TDropFilesEvent
  read FOnDropFiles
  write FOnDropFiles;

Description

OnDropFiles is a TDropFilesEvent event handler signalled when a File Drag notification is received from the LCL / widgetset interface.

The Sender argument contains the current form instance. The FileName argument contains an array with the file names for the drop operation.

Set AllowDropFiles to True to enable drag and drop operations, and execution of this event handler.

See also

TCustomForm.AllowDropFiles

  

Specifies whether files can be dropped onto this form.

TDropFilesEvent

  

Type used for an OnDropFiles event handler.