Sign in Join
FPDoc Onlineexperiment

TApplication.OnDropFiles property

Member of TApplicationpublicIn unit Forms

Event handler signalled when file(s) are dropped into the application.

Declaration

pascal
property OnDropFiles: TDropFilesEvent read FOnDropFiles write FOnDropFiles;

Description

OnDropFiles is a TDropFilesEvent property with the event handler signalled when one or more files are dropped onto a form in the application. It is signalled from the IntfDropFiles method, and occurs after the corresponding method for the form that is the drop target has been notified from the window processing loop.

For the macOS Carbon widgetset, the OnDropFiles event is fired when a file is dropped on the Application dock icon or opened via Finder (when associated). The event must be enabled in the Application Bundle.

See also

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