yuanzhi 7497a8876c Create 9 years ago
..
CustomFormat2.dof 7497a8876c Create 9 years ago
CustomFormat2.dpr 7497a8876c Create 9 years ago
CustomFormat2.res 7497a8876c Create 9 years ago
DragDropTimeOfDay.pas 7497a8876c Create 9 years ago
Source.dfm 7497a8876c Create 9 years ago
Source.pas 7497a8876c Create 9 years ago
Target.dfm 7497a8876c Create 9 years ago
Target.pas 7497a8876c Create 9 years ago
readme.txt 7497a8876c Create 9 years ago

readme.txt

CustomFormat2

This application demonstrates how to define and use custom data formats.

The used in this demo custom format contain the time-of-day and a color value.
A custom clipboard format, TTimeOfDayClipboardFormat, is implemented to support
this data format. In addition two new components, TDropTimeOfDayTarget and
TDropTimeOfDaySource, are implemented, but they are not used by this demo.

This demo is more complex than CustomFormat1 demo, but also demonstrates how to
implement and use custom Clipboard Format and Data Format classes and Target and
Source components.

To see the custom data format in action, drag from the source window and
drop on the target window. You can also do this between multiple instances of
any of the CustomFormat demo applications.