Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

FileName property

Project: Drop Files Components.

Unit: PJDropFiles.

Class: TPJDropFiles

Applies to: ~>5.0

property FileName: string;

Description

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 = ‘’.