-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathunit1.lfm
197 lines (197 loc) · 3.98 KB
/
unit1.lfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
object Form1: TForm1
Left = 340
Height = 455
Top = 113
Width = 635
Caption = 'Form1'
ClientHeight = 455
ClientWidth = 635
Position = poScreenCenter
LCLVersion = '3.99.0.0'
Visible = True
OnCloseQuery = FormCloseQuery
OnCreate = FormCreate
object Button1: TButton
Left = 88
Height = 25
Top = 72
Width = 75
Caption = 'Connect'
TabOrder = 0
OnClick = Button1Click
end
object Edit1: TEdit
Left = 88
Height = 26
Top = 8
Width = 163
TabOrder = 1
Text = 'Edit1'
end
object Label1: TLabel
Left = 8
Height = 16
Top = 16
Width = 70
Caption = 'IP Address :'
ParentColor = False
end
object Label2: TLabel
Left = 8
Height = 16
Top = 48
Width = 32
Caption = 'Port :'
ParentColor = False
end
object Edit2: TEdit
Left = 88
Height = 26
Top = 40
Width = 163
TabOrder = 2
Text = 'Edit2'
end
object Button2: TButton
Left = 176
Height = 25
Top = 72
Width = 75
Caption = 'Disconnect'
Enabled = False
TabOrder = 3
OnClick = Button2Click
end
object Memo1: TMemo
Left = 88
Height = 192
Top = 104
Width = 528
Anchors = [akTop, akLeft, akRight, akBottom]
Lines.Strings = (
'Memo1'
)
TabOrder = 4
end
object Button3: TButton
Left = 541
Height = 25
Top = 304
Width = 75
Anchors = [akRight, akBottom]
Caption = 'Clear'
TabOrder = 5
OnClick = Button3Click
end
object Button4: TButton
Left = 541
Height = 25
Top = 380
Width = 75
Anchors = [akRight, akBottom]
Caption = 'Send'
TabOrder = 6
OnClick = Button4Click
end
object CheckBox1: TCheckBox
Left = 519
Height = 22
Top = 80
Width = 111
Anchors = [akTop, akRight]
Caption = 'Receive as Hex'
TabOrder = 7
end
object Button5: TButton
Left = 88
Height = 25
Top = 416
Width = 528
Anchors = [akLeft, akRight, akBottom]
Caption = 'Close'
TabOrder = 8
OnClick = Button5Click
end
object CheckBox3: TCheckBox
Left = 399
Height = 22
Top = 352
Width = 121
Anchors = [akRight, akBottom]
Caption = 'del text on send'
Checked = True
State = cbChecked
TabOrder = 9
end
object CheckBox4: TCheckBox
Left = 513
Height = 22
Top = 10
Width = 120
Anchors = [akTop, akRight]
Caption = 'Show eventslog'
TabOrder = 10
end
object Button6: TButton
Left = 264
Height = 25
Top = 72
Width = 75
Caption = 'Listen'
TabOrder = 11
OnClick = Button6Click
end
object CheckBox5: TCheckBox
Left = 397
Height = 22
Top = 328
Width = 142
Anchors = [akRight, akBottom]
Caption = 'Add crt + lf on send'
TabOrder = 12
end
object ComboBox1: TComboBox
Left = 88
Height = 28
Top = 381
Width = 444
Anchors = [akLeft, akRight, akBottom]
ItemHeight = 0
TabOrder = 13
Text = 'ComboBox1'
end
object Label3: TLabel
Left = 8
Height = 51
Top = 322
Width = 352
Anchors = [akLeft, akBottom]
Caption = '"#<value> " = send "number" (0..255)'#13#10'"##" = send "#"'#13#10'"#h<value> " = send "value" as hex (0 .. FF)'
Font.Name = 'Courier New'
ParentColor = False
ParentFont = False
end
object ComboBox2: TComboBox
Left = 541
Height = 30
Top = 345
Width = 75
Anchors = [akRight, akBottom]
ItemHeight = 0
Style = csDropDownList
TabOrder = 14
Visible = False
end
object LTCPComponent1: TLTCPComponent
Port = 0
OnReceive = LTCPComponent1Receive
OnError = LTCPComponent1Error
OnDisconnect = LTCPComponent1Disconnect
OnConnect = LTCPComponent1Connect
OnAccept = LTCPComponent1Accept
Timeout = 0
ReuseAddress = False
Left = 56
Top = 120
end
end