Unit1.dfm 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. object Form1: TForm1
  2. Left = 213
  3. Top = 120
  4. BorderStyle = bsDialog
  5. Caption = 'Drag&Drop demo'
  6. ClientHeight = 352
  7. ClientWidth = 433
  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 = poScreenCenter
  16. PixelsPerInch = 96
  17. TextHeight = 13
  18. object Memo1: TMemo
  19. Left = 24
  20. Top = 32
  21. Width = 185
  22. Height = 97
  23. Lines.Strings = (
  24. 'Select text in this memo'
  25. 'drag it to another memo '
  26. 'and drop it there')
  27. TabOrder = 0
  28. OnEndDrag = Memo1EndDrag
  29. OnMouseDown = Memo1MouseDown
  30. OnMouseUp = Memo1MouseUp
  31. OnStartDrag = Memo1StartDrag
  32. end
  33. object Memo2: TMemo
  34. Left = 224
  35. Top = 32
  36. Width = 185
  37. Height = 289
  38. Lines.Strings = (
  39. 'Memo2')
  40. TabOrder = 1
  41. OnDragOver = Memo2DragOver
  42. end
  43. object ListBox1: TListBox
  44. Left = 24
  45. Top = 152
  46. Width = 121
  47. Height = 97
  48. DragMode = dmAutomatic
  49. ItemHeight = 13
  50. Items.Strings = (
  51. '1111111111112'
  52. '3333'
  53. '4'
  54. '4'
  55. '4'
  56. '5'
  57. '5')
  58. MultiSelect = True
  59. TabOrder = 2
  60. end
  61. object DragDropHelper1: TDragDropHelper
  62. OnGetDragImage = DragDropHelper1GetDragImage
  63. OnGetDragCursor = DragDropHelper1GetDragCursor
  64. Left = 272
  65. Top = 100
  66. end
  67. end