Sign in Join
FPDoc Onlineexperiment

TForm.OnDropFiles property

Member of TFormpublishedIn unit Forms

Declaration

pascal
property OnDropFiles: ;

Description

Not described here; this is what TCustomForm.OnDropFiles says of it:

Handler called when files have been dropped.

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 fully-qualified file names for the drop operation.

Set AllowDropFiles to True to enable drag and drop operations, and execution of this event handler. The event handler is not signalled when AllowDropFiles is set to False.

The event handler should perform any actions needed for each of the files dropped onto the form instance.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.