Source.dfm 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. object FormSource: TFormSource
  2. Left = 276
  3. Top = 110
  4. BorderStyle = bsDialog
  5. Caption = 'Custom Drop Source'
  6. ClientHeight = 229
  7. ClientWidth = 400
  8. Color = clBtnFace
  9. Font.Charset = DEFAULT_CHARSET
  10. Font.Color = clWindowText
  11. Font.Height = -11
  12. Font.Name = 'MS Sans Serif'
  13. Font.Style = []
  14. OldCreateOrder = False
  15. Position = poDefaultPosOnly
  16. Visible = True
  17. OnCreate = FormCreate
  18. PixelsPerInch = 96
  19. TextHeight = 13
  20. object Panel1: TPanel
  21. Left = 0
  22. Top = 0
  23. Width = 400
  24. Height = 96
  25. Align = alClient
  26. BevelInner = bvLowered
  27. BevelOuter = bvNone
  28. BorderWidth = 4
  29. Caption = ' '
  30. TabOrder = 0
  31. object PanelSource: TPanel
  32. Left = 5
  33. Top = 24
  34. Width = 390
  35. Height = 67
  36. Cursor = crHandPoint
  37. Align = alClient
  38. Caption = '00:00:00.000'
  39. TabOrder = 0
  40. OnMouseDown = PanelSourceMouseDown
  41. end
  42. object Panel4: TPanel
  43. Left = 5
  44. Top = 5
  45. Width = 390
  46. Height = 19
  47. Align = alTop
  48. Caption = 'Drop source'
  49. TabOrder = 1
  50. end
  51. end
  52. object Panel3: TPanel
  53. Left = 0
  54. Top = 96
  55. Width = 400
  56. Height = 133
  57. Align = alBottom
  58. BevelOuter = bvNone
  59. BorderWidth = 4
  60. Caption = ' '
  61. TabOrder = 1
  62. object Memo1: TMemo
  63. Left = 4
  64. Top = 4
  65. Width = 392
  66. Height = 125
  67. Align = alClient
  68. BorderStyle = bsNone
  69. Lines.Strings = (
  70. 'This application demonstrates how to define and drag custom clip' +
  71. 'board formats.'
  72. ''
  73. 'The custom format stores the time-of-day and a color value in a ' +
  74. 'structure. The '
  75. 'TGenericDataFormat class is used to add support for this format ' +
  76. 'to the '
  77. 'TDropTextSource and TDropTextTarget components.'
  78. ''
  79. 'To see the custom clipboard format in action, drag from the sour' +
  80. 'ce window and '
  81. 'drop on the target window. You can also do this between multiple' +
  82. ' instances of this '
  83. 'application.')
  84. ParentColor = True
  85. ReadOnly = True
  86. TabOrder = 0
  87. WantReturns = False
  88. end
  89. end
  90. object Timer1: TTimer
  91. OnTimer = Timer1Timer
  92. Left = 52
  93. Top = 32
  94. end
  95. object DropTextSource1: TDropTextSource
  96. DragTypes = [dtCopy]
  97. ImageIndex = 0
  98. ShowImage = False
  99. ImageHotSpotX = 16
  100. ImageHotSpotY = 16
  101. AllowAsyncTransfer = False
  102. Left = 16
  103. Top = 32
  104. end
  105. end