Description. These components provide the Delphi and C++Builder developer with access to most common inter-application (OLE) drag and drop capabilities with almost no user code. And, they trigger events you can handle to get even more control over the drag and drop process. You can drag text, pictures (bitmaps or metafiles) and user-defined data formats to other applications. You can accept plain text, file lists, rich text (RTF), Microsoft HTML format, URL links, bitmaps, DIBs, metafiles, and user-defined data formats (several at a time, if necessary). If you need to drag or accept a new format, you do not need to write a new descendant component; you only need to assign some values to a property. You can even drag and drop live OLE links. All content is neatly encapsulated in Delphi-style objects (e.g., graphical content is always in a TPicture, text is always in a Delphi string or TStringList). For dragging from your application, the components support the use of whatever mouse button you choose. You can even use different mouse buttons to drag different content.
Typical usage. You need almost no code to get all of the functionality of drag and drop in your own applications: typically, for example, you'd drop a TUOTextTarget component on a form, set a couple of properties, and write literally a line or two of code to do whatever you want with the content a user drags and drops onto your application. In order to demonstrate this, the source code for a large number sample drag and drop applications, both Delphi and C++Builder, is available online at
Drag and Drop Robot 1.15.01
drag and drop files for batch operations
Eliminate Cutting and Pasting in Spreadsheets
Rapid text search and replace utility.
drag and drop anything to write personal note
SnipIE - the mandatory IE utility...