Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 853 Bytes

TPJFormDropFiles-OnBeforeDrop.md

File metadata and controls

19 lines (11 loc) · 853 Bytes

OnBeforeDrop event

Project: Drop Files Components.

Unit: PJDropFiles.

Class: TPJFormDropFiles

Applies to: ~>5.0

property OnBeforeDrop: TNotifyEvent;

Description

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.