DelphiDrop allows the Delphi editor to accept text, URLs and files dropped from other applications, and to drag text to other applications (including itself).  This plug-in additionally allows you to drag text onto Delphi forms, converting it to components (really amazing stuff).

This plug-in is similar to the FileDroppers plug-in that offers drag and drop functionality for CodeRush 6 and 7.

Please see the release notes included in the download link for more information about this plug-in.



You can drag text from a variety of sources into Delphi forms, creating controls.  For example, you can drag and drop a URL from your browser onto a Delphi form, to create a URL-linked label (this is pretty cool).

You can also drag from formatted text or standard text to automatically create multi-control layouts.  This feature is impressive.

Rich Text:
When you drop Rich Text Format (RTF) data, e.g. from Microsoft Word, you can insert:
Since the design-time RTF would otherwise be converted to plain text at runtime for a standard TRichEdit, DelphiDrop provides the source code for TUORichEdit, a TRichEdit descendant that can persist its RTF even through changes in the window handle.

Graphical Content:
When you drop a device-independent bitmap (DIB), a device-dependent bitmap (DDB) or an enhanced metafile (i.e., just about any graphical content), you can insert:
URL Information:
When you drop a URL from Internet Explorer or Netscape you can insert:
DelphiDrop also inserts an OnClick handler for the TLabel that calls ShellExecute to open the URL in your default browser (or e-mail client, for mailto: URLs, etc).  In other words, drop a URL, and you get a fully-functional hyperlink label on your form!

Standard Text:
When you drop one or more lines of Text you can insert:


Drag text or other content from any application onto a form you're designing in the IDE, and you get a pop-up menu (see below) that allows you to choose how to interpret the dropped content.  The dropped content is used to construct one or more components, which are parented by the form (or an appropriate a container control if you drop on one).


You can drag text from the IDE and drop it on an Explorer folder or the Windows desktop, making a DelphiDrop Snippet (.snp) file.  Snippet files can be dragged to the IDE and either opened or (the default) inserted at the current cursor location.  This means that DelphiDrop Snippet files allow you to use the desktop or an Explorer folder (or set of folders) as a simple drag and drop code snippet repository.

DelphiDrop also automatically registers the file extension .SNP as DelphiDrop Snippet File.


While the Delphi IDE as shipped can accept files, it will accept any file (including binary!) dropped on it, which is most likely not what you want!  You can set up DelphiDrop to accept as many or as few types of files (based on the file extension).  You can also optionally switch off DelphiDrop's dragging support and keep the built-in Delphi IDE text dragging.  The DelphiDrop Options dialog appears below:

DelphiDrop automatically installs a menu on the main Delphi menu bar (Tools | DelphiDrop Options) and a CodeRush shortcut (Ctrl+Shift+D) to show its options dialog.  If you don't like these defaults, open the options dialog using one of them (or the CodeRush command "uoddOptionsDialog"), disable the defaults, and set up your own in the usual CodeRush manner.

This plug-in was designed using DropMaster available from Raize Software.

Version 1.01
Source Code Available!

CodeRush 5 / Source
Copyright 2004 Ackerson Software, All Rights Reserved.
Ackerson Software
Delphi Drop

Author: Jim O'Brien

Created: December 7, 1999

Plug-In Type: Standard

Options Page: Yes/Custom
This plug-in is NOT currently supported.
This plug-in is not the property of Developer Express; it is the sole property of its author.  As such, Developer Express cannot be held liable for any incidental damages that may be related to the usage of this plug-in.