代码说明:
This component provides a window which can accept files dragged and dropped from File Manager or Explorer. The window takes on the appearance of its parent window, although anything drawn on the parent's canvas is obliterated. The control can contain child components (in a similar way to TPanel components). Files dropped over any such child component are accepted by the parent TPJDropFiles component. The TPJDropFiles component can be aligned with the form on which it is placed using the Align property. When files from File Manager or Explorer are dropped over this component the OnDropFiles event is triggered. The names of the files are recorded in the Files property and the number of files dropped is held in the Count property.
【立即下载】
|