UnitOOPS DelphiDrop
===================

Version 1.00, 07/05/99, for CodeRush 4.02k or later


**About DelphiDrop:

DelphiDrop is the first of a set of productivity plug-ins for Eagle Software's CodeRush 4 that enhance the Delphi IDE by means of drag-and-drop operations.

**Editor functionality:

o  DelphiDrop gives the Delphi IDE editor the ability to:

  -  accept text, URLs and files dropped from other applications
  -  drag text to other applications (including itself), as well as to the desktop and Explorer in the form of snippet files.  

o  You can optionally accept any or all of text, URLs and files.  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 file (based on the file extension) as you want.  

o  You can optionally switch off DelphiDrop's dragging support and keep the built-in Delphi IDE text dragging.

o  You can drag text from the IDE onto the desktop or an Explorer window, and it is placed in a numbered DelphiDrop snippet file with the extension .SNP.  You can set up DelphiDrop to either open a .SNP file you drop onto the IDE, or to insert the code snippet it contains to the editor at the current cursor position.  This allows you to use the Explorer as a code snippet scratchpad.

**Form designer functionality:

o DelphiDrop allows the form actively being designed to accept text dropped from other applications.  When the drop takes place, a pop-up menu gives you the option of inserting labels, edit/memo, buttons, radio buttons, checkboxes, a listbox, a combobox, a page control, a list view or a tree view at the drop point, based on the dropped text.

o DelphiDrop allows the form actively being designed to accept URLs (to generate hyperlink-clickable labels automatically), Rich Text (to generate rich edits or rich labels automatically), and pictures - bitmaps or metafiles - (to generate image controls automatically).


**Installing DelphiDrop:

1) Copy CR_Uoolert4.bpl and CR_UoRichEdit4.bpl to your \Windows\System or \WinNT\System32 directory, and CR_DelphiDrop4.bpl to wherever you like to install CodeRush 4 plugins.  IMPORTANT - the current CR_DelphiDrop4.bpl requires the current CR_Uoolert4.bpl.

2) Select the (CodeRush | About...) menu, then the Packages tab, and the Add.. button to install CR_DelphiDrop4.bpl.

3) Put CR_uoRichEdit.pas into your Delphi 4 ..\lib directory, or somewhere else on the Delphi library search path.

4) Put delphidrop.htm, and the files dd*.gif in the CodeRush4\Assist directory.

DelphiDrop automatically installs a menu on the main Delphi menu bar (CodeRush | 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.  DelphiDrop also automatically registers the file extension .SNP as DelphiDrop Snippet File.


**Behind the scenes:

DelphiDrop is freeware, designed to show off the capabilities of the UnitOOPS OLE Drag and Drop Components, available separately from UnitOOPS Software.  Visit <http://www.unitoops.com/> for more information about the UnitOOPS OLE Drag and Drop Components.

UnitOOPS Software
132 Cherry Hill Road
Orange, CT 06477-1702
http://www.unitoops.com/
+1 (203) 891-8333
delphidrop@unitoops.com
unitoops@unitoops.com