readme.txt

来自「Drag files and Drop to delphi forms 0402」· 文本 代码 · 共 54 行

TXT
54
字号
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.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?