HTTPServer_frMain.lfm 1.7 KB

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