| Home | | |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| Products - List Box With File Drop |
|
|
List box with file drop is a Delphi component which extends the standard listbox functionality by adding file drop capabilities. Whenever a file from Windows Explorer is dropped over this control, a notifying event is fired allowing the host program to act accordingly.
Class name of this control is: TListBoxWithFileDrop
TListBoxWithFileDrop is identical with TListBox with
exception of one new property:
AcceptFileDrop: boolean;
If AcceptFileDrop is set to True, and file from Windows Explorer is dragged and dropped over TListBoxWithFileDrop an event OnFileDrop is fired.
OnFileDrop event is defined as follows:
procedure OnFileDrop((Sender: TObject; FileName: string; X: integer; Y: integer);
Below there is the source code of TListBoxWithFileDrop component:
| Source Code of ListBox with File Drop Component |
You can also download a compiled package which is ready to be installed (Download Now).
To install:
Alternatively you can download all source files for ProXoftCtls
Unzip downloaded files is separate directory. To open the project form Delphi, open ProxoftCtls.dpk file.
Below you can find the source code of demo program showing usage of TListBoxWithFileDrop:
| Source Code of Demo Program |
You can also download/run executable of Demo Program or - if you prefer so - download all project files (zipped) by clicking one of buttons below:
|
|
|
Home
|
![]() |
|
|