[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TApplication.OnDropFiles

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

Declaration

Source position: forms.pp line 1762

public property TApplication.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.

Remark: 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

TApplication.IntfDropFiles

  

Called by the interface when files have been dropped.

TCustomForm.IntfDropFiles

  

Invokes the OnDropFiles handler of the form. This function is called by the LCL interface.

TCustomForm.AllowDropFiles

  

Specifies whether files can be dropped onto this form.


Version 3.2 Generated 2024-02-25 Home