Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 18408, Transfer@once 1.3

by Andrei Fomine Email: Anonymous

Full-blown clipboard and drag-and-drop transfer to/from any control in most general formats, including ones native to MS Office.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 4.0  to 7.0 183 downloads
Copyright: All rights reserved

Size: 1,838,917 bytes
Updated on Wed, 07 Aug 2002 23:47:43 GMT
Originally uploaded on Wed, 24 Jul 2002 00:11:44 GMT
SHA1 Hash: CB7BC60EBBF9AE1F6F771D4C02F19104BD4FF0CB
MD5 Hash: EDB2F95E890B145C948B5F799683B007

    Explore the files in this upload

Most applications allow the user to transfer data to another application by dragging and dropping the data with the mouse, or by using the clipboard. With Transfer@once to build applications that transfer data both ways is now as easy as put a component on a form and associate it with a visual control. The aim of the Transfer@once component suite is to extend VCL components with full-blown clipboard and drag-and-drop capabilities.

Right now you can supply data as RTF (native to MS Word), BIFF8 (native to MS Excel), Shell IDList and file locations (native to Windows Explorer), and Text/Unicode Text (supported by MS Access). You can accept data as BIFF5 (supported by MS Access), BIFF8 (native to MS Excel), File Contents (native to MS Outlook), Internet Message (native to Outlook Express), Shell IDList and file locations (native to Windows Explorer), and Text/Unicode Text (supported by everything, isn't it?).

With Transfer@once, the inter-application drag-and-drop managed by OLE works through standard events the same way the internal drag-and-drop managed by the VCL does and thus works seamlessly. Since Transfer@once is aware of drag-and-drop events, it can handle them implicitly, so you do not even need to know anything about implementation of drag-and-drop in the VCL and OLE.

Transfer@once monitors mouse movement to provide visual feedback to the user. If the mouse have been hovering over the control for a given period of time and the data can be picked up and dragged, the cursor is changed to indicate this to the user. When the mouse pointer is over an area that is a drop target, Transfer@once indicates where the drop is to occur. If the mouse pointer during a drag-and-drop operation is held near the border of the window for some time, Transfer@once starts scrolling the window in the appropriate direction.

Transfer@once replaces images for the cursors predefined in the VCL with ones used by OLE, so that, during drag-and-drop operations, they look like common Windows cursors.

Some of clipboard formats are time-consuming to render, thus Transfer@once delays rendering in the particular clipboard format until the data placed on the clipboard is really needed. It controls whether to leave data on the clipboard at application shutdown.

In response to a Paste Special command Transfer@once invokes the standard Paste Special dialog box, allowing the user to select the format of the clipboard object to be pasted.

There are action classes for most common user commands. To use actions is the standard way in user interface development in the VCL.

Evaluation version of Transfer@once has only two limitations:
- Dummy cursors are used when dragging outside of the application.
- The Paste Special dialog is invoked in response to the Paste command.
Projects created with the evaluation version can be completed with the registered version at any time.

For more information, see

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03