Main.dfm 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. object FormMain: TFormMain
  2. Left = 269
  3. Top = 103
  4. BorderIcons = [biSystemMenu, biMinimize]
  5. BorderStyle = bsDialog
  6. Caption = 'Virtual File Stream (File Contents) Demo'
  7. ClientHeight = 230
  8. ClientWidth = 373
  9. Color = clBtnFace
  10. Font.Charset = DEFAULT_CHARSET
  11. Font.Color = clWindowText
  12. Font.Height = -11
  13. Font.Name = 'Arial'
  14. Font.Style = []
  15. OldCreateOrder = False
  16. Position = poDefaultPosOnly
  17. OnCreate = FormCreate
  18. PixelsPerInch = 96
  19. TextHeight = 14
  20. object Panel1: TPanel
  21. Left = 0
  22. Top = 0
  23. Width = 373
  24. Height = 171
  25. Align = alClient
  26. BevelOuter = bvNone
  27. BorderWidth = 4
  28. Caption = ' '
  29. TabOrder = 0
  30. object ListView1: TListView
  31. Left = 4
  32. Top = 4
  33. Width = 365
  34. Height = 163
  35. Cursor = crHandPoint
  36. Align = alClient
  37. Columns = <
  38. item
  39. Caption = 'File name'
  40. Width = 100
  41. end
  42. item
  43. AutoSize = True
  44. Caption = 'Contents'
  45. end>
  46. Items.Data = {
  47. A90000000200000000000000FFFFFFFFFFFFFFFF01000000000000000D466972
  48. 737446696C652E74787428546869732069732074686520636F6E74656E74206F
  49. 66207468652066697273742066696C652E2E2E00000000FFFFFFFFFFFFFFFF01
  50. 000000000000000E5365636F6E6446696C652E7478742E2E2E2E616E64207468
  51. 69732069732074686520636F6E74656E74206F6620746865207365636F6E6420
  52. 66696C652EFFFFFFFF}
  53. ReadOnly = True
  54. TabOrder = 0
  55. ViewStyle = vsReport
  56. OnMouseDown = OnMouseDown
  57. end
  58. end
  59. object Panel2: TPanel
  60. Left = 0
  61. Top = 171
  62. Width = 373
  63. Height = 59
  64. Align = alBottom
  65. BevelOuter = bvNone
  66. BorderWidth = 4
  67. Caption = ' '
  68. TabOrder = 1
  69. object Memo1: TMemo
  70. Left = 4
  71. Top = 4
  72. Width = 365
  73. Height = 51
  74. TabStop = False
  75. Align = alClient
  76. BorderStyle = bsNone
  77. Lines.Strings = (
  78. 'Drag between the above list and any application which accepts th' +
  79. 'e '
  80. 'FileContents format (e.g. the VirtualFile demo application or Ex' +
  81. 'plorer and '
  82. 'Outlook).')
  83. ParentColor = True
  84. ReadOnly = True
  85. TabOrder = 0
  86. WantReturns = False
  87. end
  88. end
  89. object DropDummy1: TDropDummy
  90. Dragtypes = []
  91. GetDataOnEnter = False
  92. ShowImage = True
  93. Target = Owner
  94. AllowAsyncTransfer = False
  95. Left = 96
  96. Top = 120
  97. end
  98. object DropEmptySource1: TDropEmptySource
  99. DragTypes = [dtCopy, dtMove]
  100. OnAfterDrop = DropEmptySource1AfterDrop
  101. ImageIndex = 0
  102. ShowImage = False
  103. ImageHotSpotX = 16
  104. ImageHotSpotY = 16
  105. AllowAsyncTransfer = False
  106. Left = 16
  107. Top = 88
  108. end
  109. object DropEmptyTarget1: TDropEmptyTarget
  110. Dragtypes = [dtCopy, dtLink]
  111. GetDataOnEnter = False
  112. OnEnter = DropEmptyTarget1Enter
  113. OnDrop = DropEmptyTarget1Drop
  114. ShowImage = True
  115. Target = ListView1
  116. AllowAsyncTransfer = False
  117. Left = 56
  118. Top = 88
  119. end
  120. object DataFormatAdapterSource: TDataFormatAdapter
  121. DragDropComponent = DropEmptySource1
  122. DataFormatName = 'TVirtualFileStreamDataFormat'
  123. Enabled = True
  124. Left = 16
  125. Top = 120
  126. end
  127. object DataFormatAdapterTarget: TDataFormatAdapter
  128. DragDropComponent = DropEmptyTarget1
  129. DataFormatName = 'TVirtualFileStreamDataFormat'
  130. Enabled = True
  131. Left = 56
  132. Top = 120
  133. end
  134. end