MainForm.dfm 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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 = 228
  23. Width = 334
  24. Height = 41
  25. Align = alBottom
  26. BevelOuter = bvLowered
  27. TabOrder = 0
  28. object btnStartStop: TButton
  29. Left = 256
  30. Top = 8
  31. Width = 75
  32. Height = 25
  33. Anchors = [akTop, akRight]
  34. Caption = 'Start Server'
  35. TabOrder = 0
  36. OnClick = btnStartStopClick
  37. end
  38. object btnTestClient: TButton
  39. Left = 8
  40. Top = 8
  41. Width = 75
  42. Height = 25
  43. Caption = 'Test Client'
  44. Enabled = False
  45. TabOrder = 1
  46. OnClick = btnTestClientClick
  47. end
  48. end
  49. object pcMain: TPageControl
  50. Left = 0
  51. Top = 0
  52. Width = 334
  53. Height = 193
  54. ActivePage = tsSettings
  55. Align = alTop
  56. TabOrder = 1
  57. object tsSettings: TTabSheet
  58. Caption = 'Settings'
  59. object Label2: TLabel
  60. Left = 4
  61. Top = 8
  62. Width = 51
  63. Height = 13
  64. Caption = 'Bind to IPs'
  65. end
  66. object Label3: TLabel
  67. Left = 120
  68. Top = 8
  69. Width = 54
  70. Height = 13
  71. Caption = 'Bind to port'
  72. end
  73. object Label4: TLabel
  74. Left = 120
  75. Top = 48
  76. Width = 118
  77. Height = 13
  78. Caption = 'Select port from stack list'
  79. end
  80. object lbIPs: TCheckListBox
  81. Left = 4
  82. Top = 24
  83. Width = 109
  84. Height = 133
  85. Anchors = [akLeft, akTop, akBottom]
  86. ItemHeight = 13
  87. TabOrder = 0
  88. end
  89. object cbPorts: TComboBox
  90. Left = 120
  91. Top = 64
  92. Width = 145
  93. Height = 21
  94. Style = csDropDownList
  95. ItemHeight = 13
  96. TabOrder = 1
  97. end
  98. object edPort: TEdit
  99. Left = 120
  100. Top = 24
  101. Width = 65
  102. Height = 21
  103. TabOrder = 2
  104. Text = '8800'
  105. OnKeyPress = edPortKeyPress
  106. end
  107. end
  108. object tsProcessLog: TTabSheet
  109. Caption = 'Process Log'
  110. ImageIndex = 1
  111. object lbProcesses: TListBox
  112. Left = 0
  113. Top = 0
  114. Width = 326
  115. Height = 165
  116. Align = alClient
  117. ItemHeight = 13
  118. Style = lbOwnerDrawFixed
  119. TabOrder = 0
  120. OnDrawItem = lbProcessesDrawItem
  121. end
  122. end
  123. object tsGreeting: TTabSheet
  124. Caption = 'Greeting'
  125. ImageIndex = 2
  126. object Panel3: TPanel
  127. Left = 0
  128. Top = 126
  129. Width = 326
  130. Height = 39
  131. Align = alBottom
  132. TabOrder = 0
  133. object lblUserNamePrompt: TLabel
  134. Left = 3
  135. Top = 3
  136. Width = 87
  137. Height = 13
  138. Caption = 'Username Prompt:'
  139. end
  140. object edUserPrompt: TEdit
  141. Left = 2
  142. Top = 16
  143. Width = 321
  144. Height = 21
  145. Anchors = [akLeft, akTop, akRight]
  146. TabOrder = 0
  147. Text = 'Username:'
  148. end
  149. end
  150. object memGreeting: TMemo
  151. Left = 0
  152. Top = 0
  153. Width = 326
  154. Height = 126
  155. Align = alClient
  156. BorderStyle = bsNone
  157. Lines.Strings = (
  158. 'Welcome to my Indy 10 Chat Server. This server is running '
  159. 'on the default Indy 10 Chat Server Demo software. For more '
  160. 'information about Indy 10 please visit '
  161. 'http://www.nevrona.com/Indy'
  162. ''
  163. 'Thanks,'
  164. 'The Management')
  165. TabOrder = 1
  166. end
  167. end
  168. end
  169. object Server: TIdTCPServer
  170. OnStatus = ServerStatus
  171. Bindings = <>
  172. DefaultPort = 8800
  173. ListenQueue = 50
  174. MaxConnections = 100
  175. OnConnect = ServerConnect
  176. OnExecute = ServerExecute
  177. OnDisconnect = ServerDisconnect
  178. OnException = ServerException
  179. ReplyTexts = <>
  180. Scheduler = IdSchedulerOfThreadDefault1
  181. Top = 200
  182. end
  183. object IdAntiFreeze1: TIdAntiFreeze
  184. Left = 32
  185. Top = 200
  186. end
  187. object IdSchedulerOfThreadDefault1: TIdSchedulerOfThreadDefault
  188. MaxThreads = 100
  189. Left = 64
  190. Top = 200
  191. end
  192. end