My favorites | Sign in
Logo
                
Search
for
Updated Jan 29, 2010 by delphidabbler
  DropFilesComponents  
Drop Files Components documentation.

Drop Files Components

The drop files components comprise two units: PJDropFiles and PJDropFilesDsgn.

PJDropFiles

This unit provides three components that support drag and drop from Windows Explorer along with subsidiary components that can filter dropped files. The components are:

Class Description
TPJDropFiles Container control that catches files dragged and dropped onto its client area or the client area of child controls.
TPJFormDropFiles Non-visual component that catches files dragged and dropped from Explorer onto the form that contains the component.
TPJCtrlDropFiles Non-visual component that catches files dragged and dropped from Explorer onto an associated control.
TPJExtFileFilter File filter component that filters files according to their extension.
TPJWildCardFileFilter File filter component that filters files according to a DOS-style wild card.
TPJFileFilter An abstract base class for file filter components.

Other documented types are:

Type Description
TPJDropFilesOption and TPJDropFilesOptions Enumerated type and set that define the possible values of the Options property of the drop files components.
TPJDroppedFileFilter Type of OnFileFilter events of drop files components.
TPJExtFileFilterStyle Enumeration representing the kind of filtering performed by the TPJExtFileFilter.Style property.

The unit also contains undocumented support code and helper classes that are not designed for public use.

PJDropFilesDsgn

This unit contains the design time elements of the drop files components: a component editor, a property editor and the component and editor registration code.

The editors are:

Editor class Description
TPJExtFileFilterExtPE Property editor for the Extensions property of the TPJExtFileFilter component. This editor displays a dialog box where extensions can be added, removed and saved in the correct format.
TPJDropFilesCE Component editor that causes an event handler for the OnDropFiles events of the drop file components to be opened in the designer when the components are double-clicked. The default action without this component editor is to open the rarely used OnBeforeDrop event handler, which is not very useful.

Links:


Sign in to add a comment
Powered by Google Project Hosting