Dismiss Notice

REGISTRATION IS AFTER ADMIN ACTIVATION

DONATIONS WITH PAYPAL CLICK TO BUTTON

1 MONTH VIP - 5$; 3 MONTHS VIP - 10$; 6 MONTHS VIP - 20$; 1 YEAR VIP - 30$; 2 YEARS VIP - 50$; GOLD USER FOR LIFE VIP - 150$

DONATIONS WITH Bitcoin Address:3NRs3CK3fhXifrNYxHEZKpETDd9vNLMsMD

Dismiss Notice
The registration is approved by the Administrator. It takes about 1 day to approve your registration
Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

Drop Files Components

Discussion in 'Delphi Components' started by AdminDF, Mar 26, 2014.

  1. AdminDF
    Online

    AdminDFAdminDF is a Verified Member DelphiFan Administrator Staff Member DF Staff

    The Drop Files Components pack includes three components that support drag and drop from Windows Explorer along with subsidiary components that can filter dropped files.

    The components are:

    TPJDropFiles
    A container control that catches files dragged and dropped onto its client area or the client area of child controls.
    TPFormDropFiles
    A non-visual component that catches files dragged and dropped from Explorer onto the form that contains the component.
    TPJCtrlDropFiles
    A non-visual component that catches files dragged and dropped from Explorer onto an associated control.
    TPJExtFileFilter
    A file filter component that filters files according to their extension.
    TPJWildCardFileFilter
    A file filter component that filters files according to a DOS-style wild card.
    TPJFileFilter
    An abstract base class for file filter components. Developers should derive any new filter components from this class.
    Some design time assistance is provided by component and property editors.

    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 array property. For convenience, the name of the first such file is also stored in the FileName property.
    The list of dropped files can be configured to include only files, only folders or all files and folders.
    Dropped folders can be recursed so that all the files and sub-folders in each of the dropped folders are listed.
    Filters can be applied to the dropped files and folders. This is done either by linking to a filter component (see above) or by handling the OnFileFilter event and deciding which files and folders to pass through the filter in the event handler.
    The mouse co-ordinates where the files were dropped can be retrieved, as can a reference to any control under the mouse cursor at the time.
    The OnBeforeDrop event can be used to perform pre-processing before the files are actually dropped.
    The IsFolder array property tells if the equivalent item from Files array is a 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 property editors.
    The components are compatible with 32 bit and 64 bit Windows VCL targets. They do not work with FireMonkey.

    Download HERE
     

Share This Page

Laws
Our website, law, laws, copyright and aims to be respectful of individual rights. Our site, as defined in the law of 5651 serves as a provider of space. According to the law, contrary to the law of site management has no obligation to monitor content. Therefore, our site has adopted the principle of fit and remove. Works are subject to copyright laws and is shared in a manner that violated their legal rights, or professional associations, rights holders who, adsdelphi@gmail.com I can reach us at e-mail address. Complaints considered to be infringing on the examination of the content will be removed from our site.
Donate Help To Us and Be VIP
DONATIONS WITH PAYPAL CLICK TO BUTTON
6 MONTHS VIP - 20$; 1 YEAR VIP - 30$; 2 YEARS VIP - 50$; GOLD USER FOR LIFE VIP - 150$
Social Block