yuanzhi 7497a8876c Create 9 years ago
..
DragDropDemo.dof 7497a8876c Create 9 years ago
DragDropDemo.dpr 7497a8876c Create 9 years ago
DragDropDemo.res 7497a8876c Create 9 years ago
DropCursors.res 7497a8876c Create 9 years ago
DropFile.dfm 7497a8876c Create 9 years ago
DropFile.pas 7497a8876c Create 9 years ago
DropText.dfm 7497a8876c Create 9 years ago
DropText.pas 7497a8876c Create 9 years ago
DropURL.dfm 7497a8876c Create 9 years ago
DropURL.pas 7497a8876c Create 9 years ago
cursors.res 7497a8876c Create 9 years ago
demo.dfm 7497a8876c Create 9 years ago
demo.pas 7497a8876c Create 9 years ago
readme.txt 7497a8876c Create 9 years ago

readme.txt

DragDropDemo

This application demonstrates how to drag and drop text, files, URLs and
bitmaps. Both drop target and drop source operations are demonstrated.

In addition to basic drag/drop operations, advanced features such as drag
images, custom cursors, clipboard operations and optimized move are
demonstrated.

In addition to the main unit, the demo consists of the following units:

1) DropFile unit.
This unit demonstrates how to drag and drop files using the following
components:
- TDropFileSource
- TDropFileTarget
- TDropDummy

In addition to basic drag/drop operations, the unit demonstrates:
- Custom drag cursors.
- Drag images.
- Clipboard copy/paste.
- "Delete on paste".
- "Optimized move".
- Providing feedback over controls which aren't drop targets.

2) DropText unit.
This unit demonstrates how to drag and drop text using the following components:
- TDropTextSource
- TDropTextTarget
- TDropDummy

In addition to basic drag/drop operations, the unit demonstrates:
- Custom drag cursors.
- Copying data onto the clipboard.
- Providing feedback over controls which aren't drop targets.

3) DropURL unit.
This unit demonstrates how to drag and drop URLs and bitmaps using the following
components:
- TDropURLSource
- TDropURLTarget
- TDropBMPSource
- TDropBMPTarget
- TDropDummy

In addition to basic drag/drop operations, the unit demonstrates:
- Custom drag cursors.
- Dynamic drag images.
- Clipboard copy/paste.
- "Delete on paste".
- Providing feedback over controls which aren't drop targets.