Project: Drop Files Components.
Unit: PJDropFiles.
Class: TPJFormDropFiles
Applies to: ~>5.0
property OnBeforeDrop: TNotifyEvent;
This event is triggered when files are dropped on the form but before the files are processed. If the processing of files is likely to be a lengthy occurence then an hourglass or similar user interface device can be displayed here.
The Files property does not yet contain details of the files dropped when this event is triggered, so the Files property should not be read. The OnDropFiles event is triggered after the processing of files takes place. The Files property should therefore be read in the OnDropFiles event handler.