Sign in Join
FPDoc Onlineexperiment

TApplicationProperties.OnDropFiles property

Member of TApplicationPropertiespublishedIn unit Forms

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

Declaration

pascal
property OnDropFiles: TDropFilesEvent read FOnDropFiles write SetOnDropFiles;

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.

This description is the one of Forms.TApplication.OnDropFiles.

See also

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