-
Notifications
You must be signed in to change notification settings - Fork 26
/
CommsUnit.dfm
333 lines (333 loc) · 7.86 KB
/
CommsUnit.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
object CommsForm: TCommsForm
Left = 1004
Top = 146
BorderIcons = [biSystemMenu]
BorderStyle = bsSizeToolWin
Caption = 'VNA Comms'
ClientHeight = 397
ClientWidth = 469
Color = clBtnFace
Constraints.MinHeight = 300
Constraints.MinWidth = 485
DoubleBuffered = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
FormStyle = fsStayOnTop
KeyPreview = True
OldCreateOrder = False
OnClose = FormClose
OnCreate = FormCreate
OnHide = FormHide
OnKeyDown = FormKeyDown
OnMouseEnter = FormMouseEnter
OnShow = FormShow
DesignSize = (
469
397)
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 15
Top = 344
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
ExplicitTop = 437
end
object Label2: TLabel
Left = 10
Top = 374
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
ExplicitTop = 467
end
object Memo1: TMemo
Left = 6
Top = 36
Width = 458
Height = 298
Anchors = [akLeft, akTop, akRight, akBottom]
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Consolas'
Font.Style = []
Lines.Strings = (
'Memo1')
MaxLength = 250000
ParentFont = False
ReadOnly = True
ScrollBars = ssBoth
TabOrder = 5
WordWrap = False
end
object CloseButton: TButton
Left = 389
Top = 5
Width = 75
Height = 25
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 = 308
Top = 5
Width = 75
Height = 25
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 = 228
Top = 5
Width = 75
Height = 25
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 CommandEdit: TEdit
Left = 95
Top = 340
Width = 369
Height = 21
Anchors = [akLeft, akRight, akBottom]
TabOrder = 6
OnChange = CommandEditChange
OnEnter = CommandEditEnter
OnExit = CommandEditExit
OnKeyDown = CommandEditKeyDown
end
object PauseCommsToggleSwitch: TToggleSwitch
Left = 112
Top = 8
Width = 98
Height = 20
FrameColor = clBtnFace
StateCaptions.CaptionOn = 'Paused'
StateCaptions.CaptionOff = 'Un-paused'
SwitchWidth = 40
TabOrder = 1
ThumbColor = clBlue
ThumbWidth = 20
OnClick = PauseCommsToggleSwitchClick
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 = 368
Width = 369
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 = 92
Height = 25
Cursor = crHandPoint
Align = alClient
Caption = 'Commands 1'
DoubleBuffered = True
DropDownMenu = CommandsButtonPopupMenu
ParentDoubleBuffered = False
ParentShowHint = False
ShowHint = False
Style = bsSplitButton
TabOrder = 0
OnClick = CommandsButtonClick
OnDropDownClick = CommandsButtonDropDownClick
end
object CommandsButton2: TButton
Left = 92
Top = 0
Width = 92
Height = 25
Cursor = crHandPoint
Align = alClient
Caption = 'Commands 2'
DoubleBuffered = True
DropDownMenu = CommandsButtonPopupMenu
ParentDoubleBuffered = False
ParentShowHint = False
ShowHint = False
Style = bsSplitButton
TabOrder = 1
OnClick = CommandsButtonClick
OnDropDownClick = CommandsButtonDropDownClick
end
object CommandsButton3: TButton
Left = 184
Top = 0
Width = 92
Height = 25
Cursor = crHandPoint
Align = alClient
Caption = 'Commands 3'
DoubleBuffered = True
DropDownMenu = CommandsButtonPopupMenu
ParentDoubleBuffered = False
ParentShowHint = False
ShowHint = False
Style = bsSplitButton
TabOrder = 2
OnClick = CommandsButtonClick
OnDropDownClick = CommandsButtonDropDownClick
end
object CommandsButton4: TButton
Left = 276
Top = 0
Width = 93
Height = 25
Cursor = crHandPoint
Align = alClient
Caption = 'Commands 4'
DoubleBuffered = True
DropDownMenu = CommandsButtonPopupMenu
ParentDoubleBuffered = False
ParentShowHint = False
ShowHint = False
Style = bsSplitButton
TabOrder = 3
OnClick = CommandsButtonClick
OnDropDownClick = CommandsButtonDropDownClick
end
end
object SaveDialog1: TSaveDialog
DefaultExt = 'txt'
Filter = '*.txt|*.txt|*.*|*.*'
Options = [ofPathMustExist, ofEnableSizing]
Left = 44
Top = 56
end
object CommandsButtonPopupMenu: TPopupMenu
OnPopup = CommandsButtonPopupMenuPopup
Left = 104
Top = 64
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