Project: Drop Files Components.
Unit: PJDropFiles.
Class: TPJDropFiles
Applies to: ~>5.0
property FileName: string;
The name of a file dropped on the control or its child controls.
When a file is dropped on the control, this read-only property contains the fully specified name of the file. If more than one file is dropped, this property stores the name of the first file dropped. If no files have been dropped then the empty string is returned.
Note: when one or more files have been dropped FileName is the same as the first element of the Files property. If no files are available then FileName = ''.