-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathUnitIdClient.dfm
More file actions
197 lines (197 loc) · 4.24 KB
/
UnitIdClient.dfm
File metadata and controls
197 lines (197 loc) · 4.24 KB
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 FormIdClient: TFormIdClient
Left = 0
Top = 0
Caption = 'Indy Client'
ClientHeight = 322
ClientWidth = 869
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Visible = True
OnClose = FormClose
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object LedSha2: TShape
Left = 565
Top = 37
Width = 22
Height = 22
Margins.Left = 0
Margins.Top = 0
Margins.Right = 0
Margins.Bottom = 0
Brush.Color = clGray
Pen.Color = clGray
Shape = stCircle
end
object TitleLabel: TLabel
Left = 24
Top = 8
Width = 222
Height = 19
Caption = 'VCL Indy Client Application'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
end
object LabelConn: TLabel
Left = 520
Top = 72
Width = 101
Height = 16
Caption = 'Connection status'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object LedShape: TShape
Left = 568
Top = 40
Width = 16
Height = 16
Brush.Color = clMaroon
Shape = stCircle
end
object Mess2SendLabel: TLabel
Left = 32
Top = 120
Width = 96
Height = 16
Caption = 'Message to send'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label1: TLabel
Left = 24
Top = 33
Width = 93
Height = 13
Caption = 'Client disconnected'
end
object connect_btn: TButton
Left = 149
Top = 57
Width = 97
Height = 41
Caption = 'Connect'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
OnClick = connect_btnClick
end
object disconnect_btn: TButton
Left = 261
Top = 57
Width = 97
Height = 41
Caption = 'Disconnect'
Enabled = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 1
OnClick = disconnect_btnClick
end
object EditMess: TEdit
Left = 8
Top = 142
Width = 761
Height = 21
Enabled = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 2
end
object send_btn: TButton
Left = 786
Top = 141
Width = 75
Height = 24
Caption = 'Send Message'
Enabled = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 3
OnClick = send_btnClick
end
object MemoLog: TMemo
AlignWithMargins = True
Left = 3
Top = 190
Width = 863
Height = 129
Align = alBottom
BorderStyle = bsNone
Color = clBlack
Font.Charset = DEFAULT_CHARSET
Font.Color = clLime
Font.Height = -13
Font.Name = 'Arial'
Font.Style = []
Lines.Strings = (
'')
ParentFont = False
ScrollBars = ssVertical
TabOrder = 4
OnChange = MemoLogChange
end
object setIPbtn: TButton
Left = 32
Top = 59
Width = 97
Height = 41
Caption = 'Set IP Address'
TabOrder = 5
OnClick = setIPbtnClick
end
object IdTCPClient1: TIdTCPClient
OnDisconnected = IdTCPClient1Disconnected
OnConnected = IdTCPClient1Connected
ConnectTimeout = 5000
Host = '192.168.1.60'
IPVersion = Id_IPv4
Port = 120
ReadTimeout = 5000
Left = 736
Top = 40
end
object IdThreadComponent1: TIdThreadComponent
Active = False
Loop = False
Priority = tpNormal
StopMode = smTerminate
OnRun = IdThreadComponent1Run
Left = 800
Top = 56
end
end