Transfer@once by Quasidata

Many applications allow users 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. The aim of the Transfer@once component suite is to extend VCL components with full-blown clipboard and drag-and-drop capabilities.

The core functionality is implemented in components called controllers. Place a controller on a form just as you place other nonvisual components and associate it with a visual control.

TtaoWinControl is a general-purpose customizable controller designed to work with any visual control. Only a single component is needed to allow a visual control to support the clipboard as well as drag-and-drop.

TtaoStringGrid allows TStringGrid to support clipboard and drag-and-drop data transfer. A single string as well as a tabular range of strings can be supplied as RTF and Text and accepted as Text.

TtaoDbGrid makes TDBGrid to be able to copy and paste records as well as a single cell in many popular clipboard formats, including ones native to MS Office. It supports drag-and-drop of a single cell also. If the TtaoDbGrid component is unable to paste one or more records, it stores them in an in-memory dataset, so the user is able to fix the problems that resulted in the paste errors.

TtaoDbGrid introduces a number of features to improve user interface provided by TDBGrid.

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

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

Transfer@once 1.1 supports Delphi 4, 5, 6 and C++ Builder 4, 5. Documentation and demo applications are provided. Please visit www.quasidata.com for additional information.

© 2001 Quasidata