MainForm.dfm 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. object frmMain: TfrmMain
  2. Left = 196
  3. Top = 179
  4. Width = 342
  5. Height = 296
  6. Caption = 'Indy Base Server'
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'MS Sans Serif'
  12. Font.Style = []
  13. OldCreateOrder = False
  14. Position = poDesktopCenter
  15. OnActivate = FormActivate
  16. OnCreate = FormCreate
  17. OnDestroy = FormDestroy
  18. PixelsPerInch = 96
  19. TextHeight = 13
  20. object pnlButtonBar: TPanel
  21. Left = 0
  22. Top = 221
  23. Width = 334
  24. Height = 41
  25. Align = alBottom
  26. BevelOuter = bvLowered
  27. TabOrder = 0
  28. DesignSize = (
  29. 334
  30. 41)
  31. object btnStartStop: TButton
  32. Left = 256
  33. Top = 8
  34. Width = 75
  35. Height = 25
  36. Anchors = [akTop, akRight]
  37. Caption = 'Start Server'
  38. TabOrder = 0
  39. OnClick = btnStartStopClick
  40. end
  41. end
  42. object pcMain: TPageControl
  43. Left = 0
  44. Top = 0
  45. Width = 334
  46. Height = 193
  47. ActivePage = tsSettings
  48. Align = alTop
  49. TabIndex = 0
  50. TabOrder = 1
  51. object tsSettings: TTabSheet
  52. Caption = 'Settings'
  53. DesignSize = (
  54. 326
  55. 165)
  56. object Label2: TLabel
  57. Left = 4
  58. Top = 8
  59. Width = 51
  60. Height = 13
  61. Caption = 'Bind to IPs'
  62. end
  63. object Label3: TLabel
  64. Left = 120
  65. Top = 8
  66. Width = 54
  67. Height = 13
  68. Caption = 'Bind to port'
  69. end
  70. object Label4: TLabel
  71. Left = 120
  72. Top = 48
  73. Width = 118
  74. Height = 13
  75. Caption = 'Select port from stack list'
  76. end
  77. object lbIPs: TCheckListBox
  78. Left = 4
  79. Top = 24
  80. Width = 109
  81. Height = 133
  82. Anchors = [akLeft, akTop, akBottom]
  83. ItemHeight = 13
  84. TabOrder = 0
  85. end
  86. object cbPorts: TComboBox
  87. Left = 120
  88. Top = 64
  89. Width = 145
  90. Height = 21
  91. Style = csDropDownList
  92. ItemHeight = 13
  93. TabOrder = 1
  94. end
  95. object edPort: TEdit
  96. Left = 120
  97. Top = 24
  98. Width = 65
  99. Height = 21
  100. TabOrder = 2
  101. Text = '8800'
  102. OnKeyPress = edPortKeyPress
  103. end
  104. end
  105. object tsProcessLog: TTabSheet
  106. Caption = 'Process Log'
  107. ImageIndex = 1
  108. object lbProcesses: TListBox
  109. Left = 0
  110. Top = 0
  111. Width = 326
  112. Height = 165
  113. Style = lbOwnerDrawFixed
  114. Align = alClient
  115. ItemHeight = 13
  116. TabOrder = 0
  117. OnDrawItem = lbProcessesDrawItem
  118. end
  119. end
  120. end
  121. object Server: TIdTCPServer
  122. OnStatus = ServerStatus
  123. Bindings = <>
  124. DefaultPort = 8800
  125. ListenQueue = 50
  126. MaxConnections = 100
  127. OnConnect = ServerConnect
  128. OnDisconnect = ServerDisconnect
  129. OnException = ServerException
  130. Scheduler = IdSchedulerOfThreadDefault1
  131. OnExecute = ServerExecute
  132. Top = 200
  133. end
  134. object IdAntiFreeze1: TIdAntiFreeze
  135. Left = 32
  136. Top = 200
  137. end
  138. object IdSchedulerOfThreadDefault1: TIdSchedulerOfThreadDefault
  139. MaxThreads = 100
  140. Left = 64
  141. Top = 200
  142. end
  143. end