-
Notifications
You must be signed in to change notification settings - Fork 26
/
VNAUsartUnit.dfm
379 lines (379 loc) · 8.87 KB
/
VNAUsartUnit.dfm
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
object VNAUsartCommsForm: TVNAUsartCommsForm
Left = 0
Top = 0
BorderIcons = [biSystemMenu]
BorderStyle = bsSizeToolWin
Caption = 'VNA USART comms'
ClientHeight = 382
ClientWidth = 516
Color = clBtnFace
Constraints.MinHeight = 300
Constraints.MinWidth = 532
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
FormStyle = fsStayOnTop
KeyPreview = True
OldCreateOrder = False
OnClose = FormClose
OnCreate = FormCreate
OnDestroy = FormDestroy
OnHide = FormHide
OnKeyDown = FormKeyDown
OnMouseEnter = FormMouseEnter
OnShow = FormShow
DesignSize = (
516
382)
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 19
Top = 332
Width = 74
Height = 13
Alignment = taRightJustify
Anchors = [akLeft, akBottom]
Caption = 'User command '
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 14
Top = 359
Width = 79
Height = 13
Alignment = taRightJustify
Anchors = [akLeft, akBottom]
Caption = 'User commands '
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label3: TLabel
Left = 374
Top = 332
Width = 63
Height = 13
Alignment = taRightJustify
Anchors = [akRight, akBottom]
Caption = 'Timeout (ms) '
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object CloseButton: TButton
Left = 433
Top = 8
Width = 75
Height = 21
Cursor = crHandPoint
Anchors = [akTop, akRight]
Caption = 'Close'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 4
OnClick = CloseButtonClick
end
object SaveButton: TButton
Left = 352
Top = 8
Width = 75
Height = 21
Cursor = crHandPoint
Anchors = [akTop, akRight]
Caption = 'Save'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 3
OnClick = SaveButtonClick
end
object ClearButton: TButton
Left = 271
Top = 8
Width = 75
Height = 21
Cursor = crHandPoint
Anchors = [akTop, akRight]
Caption = 'Clear'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 2
OnClick = ClearButtonClick
end
object Memo1: TMemo
Left = 6
Top = 35
Width = 502
Height = 287
Anchors = [akLeft, akTop, akRight, akBottom]
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Consolas'
Font.Style = []
Lines.Strings = (
'Memo1')
MaxLength = 100000
ParentFont = False
ReadOnly = True
ScrollBars = ssBoth
TabOrder = 5
WordWrap = False
end
object CommandEdit: TEdit
Left = 95
Top = 328
Width = 274
Height = 21
Anchors = [akLeft, akRight, akBottom]
TabOrder = 6
OnChange = CommandEditChange
OnEnter = CommandEditEnter
OnExit = CommandEditExit
OnKeyDown = CommandEditKeyDown
end
object VNAUsartBaudrateComboBox: TComboBox
Left = 105
Top = 8
Width = 89
Height = 21
Cursor = crHandPoint
Hint = 'VNA usart port baudrate'
Style = csDropDownList
DropDownCount = 40
ParentShowHint = False
ShowHint = True
TabOrder = 1
OnChange = VNAUsartBaudrateComboBoxChange
end
object ScrollToggleSwitch: TToggleSwitch
Left = 16
Top = 8
Width = 72
Height = 20
FrameColor = clBtnFace
StateCaptions.CaptionOn = 'Hold'
StateCaptions.CaptionOff = 'Scroll'
SwitchWidth = 40
TabOrder = 0
ThumbColor = clBlue
ThumbWidth = 20
end
object GridPanel1: TGridPanel
Left = 95
Top = 353
Width = 413
Height = 25
Anchors = [akLeft, akRight, akBottom]
BevelOuter = bvNone
Caption = 'V'
ColumnCollection = <
item
Value = 25.000000000000000000
end
item
Value = 25.000000000000000000
end
item
Value = 25.000000000000000000
end
item
Value = 25.000000000000000000
end>
ControlCollection = <
item
Column = 0
Control = CommandsButton1
Row = 0
end
item
Column = 1
Control = CommandsButton2
Row = 0
end
item
Column = 2
Control = CommandsButton3
Row = 0
end
item
Column = 3
Control = CommandsButton4
Row = 0
end>
RowCollection = <
item
Value = 100.000000000000000000
end>
TabOrder = 7
object CommandsButton1: TButton
Left = 0
Top = 0
Width = 103
Height = 25
Cursor = crHandPoint
Align = alClient
Caption = 'Commands 1'
DoubleBuffered = True
DropDownMenu = CommandsButtonPopupMenu
ParentDoubleBuffered = False
ParentShowHint = False
ShowHint = True
Style = bsSplitButton
TabOrder = 0
OnClick = CommandsButtonClick
OnDropDownClick = CommandsButtonDropDownClick
end
object CommandsButton2: TButton
Left = 103
Top = 0
Width = 103
Height = 25
Cursor = crHandPoint
Align = alClient
Caption = 'Commands 2'
DoubleBuffered = True
DropDownMenu = CommandsButtonPopupMenu
ParentDoubleBuffered = False
ParentShowHint = False
ShowHint = True
Style = bsSplitButton
TabOrder = 1
OnClick = CommandsButtonClick
OnDropDownClick = CommandsButtonDropDownClick
end
object CommandsButton3: TButton
Left = 206
Top = 0
Width = 103
Height = 25
Cursor = crHandPoint
Align = alClient
Caption = 'Commands 3'
DoubleBuffered = True
DropDownMenu = CommandsButtonPopupMenu
ParentDoubleBuffered = False
ParentShowHint = False
ShowHint = True
Style = bsSplitButton
TabOrder = 2
OnClick = CommandsButtonClick
OnDropDownClick = CommandsButtonDropDownClick
end
object CommandsButton4: TButton
Left = 309
Top = 0
Width = 104
Height = 25
Cursor = crHandPoint
Align = alClient
Caption = 'Commands 4'
DoubleBuffered = True
DropDownMenu = CommandsButtonPopupMenu
ParentDoubleBuffered = False
ParentShowHint = False
ShowHint = True
Style = bsSplitButton
TabOrder = 3
OnClick = CommandsButtonClick
OnDropDownClick = CommandsButtonDropDownClick
end
end
object CommandEndsComboBox: TComboBox
Left = 206
Top = 8
Width = 56
Height = 21
Cursor = crHandPoint
Hint = 'Command line ends'
Style = csDropDownList
DropDownCount = 40
ItemIndex = 0
ParentShowHint = False
ShowHint = True
TabOrder = 8
Text = 'CR/LF'
OnChange = VNAUsartBaudrateComboBoxChange
OnClick = CommandEndsComboBoxClick
Items.Strings = (
'CR/LF'
'LF/CR'
'LF'
'CR')
end
object TimeoutEdit: TEdit
Left = 440
Top = 328
Width = 68
Height = 21
Anchors = [akRight, akBottom]
NumbersOnly = True
TabOrder = 9
Text = '200'
OnChange = TimeoutEditChange
end
object SaveDialog1: TSaveDialog
DefaultExt = 'txt'
Filter = '*.txt|*.txt|*.*|*.*'
Options = [ofPathMustExist, ofEnableSizing]
Left = 28
Top = 64
end
object CommandsButtonPopupMenu: TPopupMenu
OnPopup = CommandsButtonPopupMenuPopup
Left = 104
Top = 72
object Clearcommand1: TMenuItem
Caption = 'C&lear'
OnClick = Clearcommand1Click
end
object Editcommand1: TMenuItem
Caption = '&Edit'
OnClick = Editcommand1Click
end
object Copy1: TMenuItem
Caption = '&Copy'
OnClick = Copy1Click
end
object Paste1: TMenuItem
Caption = '&Paste'
OnClick = Paste1Click
end
object Rename1: TMenuItem
Caption = '&Rename'
OnClick = Rename1Click
end
object N1: TMenuItem
Caption = '-'
end
object Cancel1: TMenuItem
Caption = 'Ca&ncel'
OnClick = Cancel1Click
end
end
end