HTTPUpload_frMain.lfm 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. object frMain: TfrMain
  2. Left = 272
  3. Height = 160
  4. Top = 137
  5. Width = 320
  6. Caption = 'HTTP upload example'
  7. ClientHeight = 160
  8. ClientWidth = 320
  9. OnShow = FormShow
  10. Position = poDesktopCenter
  11. LCLVersion = '2.0.10.0'
  12. object lbPort: TLabel
  13. Left = 20
  14. Height = 15
  15. Top = 22
  16. Width = 22
  17. Caption = 'Port'
  18. ParentColor = False
  19. end
  20. object edPort: TSpinEdit
  21. Left = 49
  22. Height = 23
  23. Top = 17
  24. Width = 66
  25. MaxValue = 65535
  26. OnChange = edPortChange
  27. TabOrder = 0
  28. end
  29. object btStart: TButton
  30. Left = 128
  31. Height = 25
  32. Top = 18
  33. Width = 75
  34. Action = acStart
  35. TabOrder = 1
  36. end
  37. object btStop: TButton
  38. Left = 216
  39. Height = 25
  40. Top = 18
  41. Width = 75
  42. Action = acStop
  43. TabOrder = 2
  44. end
  45. object lbLink: TLabel
  46. Cursor = crHandPoint
  47. Left = 20
  48. Height = 15
  49. Top = 64
  50. Width = 83
  51. Caption = 'http://localhost'
  52. Enabled = False
  53. Font.Color = clBlue
  54. Font.Style = [fsUnderline]
  55. ParentColor = False
  56. ParentFont = False
  57. OnClick = lbLinkClick
  58. OnMouseEnter = lbLinkMouseEnter
  59. OnMouseLeave = lbLinkMouseLeave
  60. end
  61. object alMain: TActionList
  62. Left = 40
  63. Top = 88
  64. object acStart: TAction
  65. Category = 'HTTP server'
  66. Caption = '&Start'
  67. OnExecute = acStartExecute
  68. ShortCut = 120
  69. end
  70. object acStop: TAction
  71. Category = 'HTTP server'
  72. Caption = 'S&top'
  73. Enabled = False
  74. OnExecute = acStopExecute
  75. ShortCut = 121
  76. end
  77. end
  78. object BrookHTTPServer1: TBrookHTTPServer
  79. NoFavicon = True
  80. OnRequest = BrookHTTPServer1Request
  81. OnRequestError = BrookHTTPServer1RequestError
  82. OnStart = BrookHTTPServer1Start
  83. OnStop = BrookHTTPServer1Stop
  84. Left = 168
  85. Top = 88
  86. end
  87. end