Source Code Online Home Categories Top Code New Code Submit Code
Search
Subject Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Visual Basic & VB.NET
 XML
New Code
TeeChart for Java 2012
PDF Renderer SDK 2.20.458
WebSpellChecker.net application Linux 3.7
WebSpellChecker.net application 3.7
VISCOM Video Converter SDK ActiveX 3.05
VISCOM Image to Video Converter ActiveX 7.05
VISCOM Video BroadCast ActiveX SDK 2.38
VISCOM TWAIN Scanner SDK ActiveX 4.31
VISCOM Sound Volume ActiveX OCX SDK 3.08
VISCOM Free PowerPoint Viewer ActiveX 1.52
VISCOM Outlook Express ActiveX OCX SDK 2.46
Hex Comparison 5.1124
VISCOM TIFF Viewer ActiveX SDK 9.5
VISCOM Image Viewer CP Pro ActiveX SDK 9.5
VISCOM Media Player Gold ActiveX 2.54
Top Code
BeholderBoard Virtual Chess-set 1.5
Free Inventory System Source Code 1.0.75
PHP Login Script with Remember Me Feature
Point of Sale Software 1.0
PHP Inventory 1.2
Billing System 1.0.1
Free Enrollment System 1.0
Enrollment System 1.0
Internet Cafe Monitoring Source Code v1.0
Jquery lightbox effect / image overlay effect script 1.0
1-code Free Affiliate Code Generator 1.I
Creating ASP.NET Pages with your Favorite Language
SAS Hotel Management System 1.0
Source Code to Flowchart
Java Applet Source Code
Top Rated
MiniSiteScript - Easy Amazon Affiliate Site Builder 1.0
iAuto Bikes Classified Software 5.5
iLister Classified Script 5.5
iAuto: SEO-Friendly Auto Classifieds Script 5.5
Jquery lightbox effect / image overlay effect script 1.0
Code Line Counter Pro - VB Version 4.0
CZ-Doc2htm 4.0
Vacation Packages Script 1.0
ShixxNOTE 6.net
XFileSharing Pro 1.9
Paid Classified Php Script with built in Members Area 1.1
Precisly vision 2.1.9
Job Listing Script 2.0
iweb Classified pro 3.0.5
PCL Works 32-bit 11.6
Details

TPJDropFiles and TPJFormDropFiles 5.0

by Peter Johnson





Five components are included in this pack. The three major ones enableapplications to support Windows Explorer file drag and drop operations. Theremaining two subsidiary components link to and filter the files dropped onone of the primary components. The components are:TPJDropFiles: This windowed component catches files dropped anywhere overits window. It can act as a container for other components.TPFormDropFiles: This non-visual component catches files dropped anywhereon its form, including the non-client areas.TPJCtrlDropFiles: This non-visual component catches files dropped on an associated TWinControl or TFrame.TPJExtFileFilter: When linked to a TPJDropFiles or a TPJFormDropFilesthis component filters dropped files by extension. One or more extensions canbe provided.TPJWildCardFileFilter: Like TPJExtFileFilter except that it filters basedon a DOS-style wild-card string.In addition to the above an abstract base class is provided from whichdevelopers can derive other filter components.Key features of TPJDropFiles, TPJCtrlDropFiles and TPJFormDropFiles are:An OnDropFiles event is triggered when files are dropped.The names of dropped files are made available through the Files arrayproperty. For convenience, the name of the first such file is also stored inthe FileName property.The list of dropped files can be configured to include only files, onlyfolders or all files and folders.Dropped folders can be recursed so that all the files and sub-folders ineach of the dropped folders are listed.Filters can be applied to the dropped files and folders. This is doneeither by linking to a filter component (see above) or by handling theOnFileFilter event and deciding which files and folders to pass through thefilter in the event handler.The mouse co-ordinates where the files were dropped can be retrieved, ascan a reference to any control under the mouse cursor at the time.The OnBeforeDrop event can be used to perform pre-processing before thefiles are actually dropped.The IsFolder array property tells if the equivalent item from Files array isa file or a folder.The owning window can be brought to the front when files are dropped.Some design time assistance is provided by component and propertyeditors.A OpenHelp compatible help file is included that integrates with theOpenHelp system of Delphi 3 to 7. The help file can be used independentlyof the Delphi 2005 and 2006 IDEs with some loss of functionality.Two demo programs are included in the download. The first exercises bothdrop files components and the related file filtering components. The second shows how to use TPJCtrlDropFiles with frames.

License: Freeware

Related: Delphi, Component, Source, Code, Download, Free, Freeware, Windows, Explorer, Drag, And, Drop, File, Dragacceptfiles, Wm_dropfiles

File Size: 65.0 KB

Downloads: 16

Submit Rating:
Download TPJDropFiles and TPJFormDropFiles 5.0  Report Error Link
More Similar Code


Three components are provided that enable applications to support Windows Explorer file drag and drop. TPJDropFiles is a windowed control that catches files dropped anywhere over its window. It can act as a container for other...





Collection of Delphi Examples and Delphi Tutorials



Delphi Component for Accessing Metastock Files.
TMetastock lets you read and write Metastock stock rate files. TMetastock read and write files with 5,6 or 7 fields.
TMetastock tested with Delphi 4.0, 5.0, 6.0, 7.0 and 2005
If you...



Delphi and OCX component for build ICQ client. Build-in all power ICQ into your application. Use our ICQClient you have full functionally ICQ messenger with main messengers function such as send/receive messages, contact list, find user, import...



TPing and TTraceRoute, the standard test tools for TCP/IP networks as Delphi components, together with simple demo applications. Supporting both ICMP.DLL and winsock mode.



@1 Content Board for Desktop and Handheld is a content management tool that manipulates the articles for publishing like - news stories, and events using browsers such as IE, Netscape, etc., and also using the handheld tools iSilo & iSiloX,...



1 Content Board For Desktop And Handhel is multi-platform compatible. Maintain articles on your website from a desktop or handheld device. The articles can be viewed from a desktop browser, PDA browser and other PDA software. Tested with iSilo,...



The "PJ" and "Supreme4" collections of Flash Text Effects are now available as Macromedia Flash MX (MX / 2004 / 2004 professional) Component collections. / Besides default font settings, many effects have predefined...



25+ ASP Tips to Improve Performance and Style is a web based tutorial that deals with step by step method that have to be adapted to maximize the performance of the ASP pages. Here author describes about various methods like disabling session...



Omnistar Live is a dynamic live chat and customer support management solution. You may chat with your site visitors, log support issues in a dynamic help desk and create a knowledgebase of information.

User Review for TPJDropFiles and TPJFormDropFiles
- required fields
     

Please enter text on the image