1 | object MainForm: TMainForm
|
---|
2 | Left = 263
|
---|
3 | Height = 608
|
---|
4 | Top = 119
|
---|
5 | Width = 966
|
---|
6 | Caption = 'VarBlockSerializer demo'
|
---|
7 | ClientHeight = 608
|
---|
8 | ClientWidth = 966
|
---|
9 | DesignTimePPI = 144
|
---|
10 | OnShow = FormShow
|
---|
11 | LCLVersion = '3.4.0.0'
|
---|
12 | object PageControl1: TPageControl
|
---|
13 | Left = 12
|
---|
14 | Height = 588
|
---|
15 | Top = 12
|
---|
16 | Width = 948
|
---|
17 | ActivePage = TabSheet1
|
---|
18 | Anchors = [akTop, akLeft, akRight, akBottom]
|
---|
19 | TabIndex = 0
|
---|
20 | TabOrder = 0
|
---|
21 | object TabSheet1: TTabSheet
|
---|
22 | Caption = 'Simple types'
|
---|
23 | ClientHeight = 548
|
---|
24 | ClientWidth = 938
|
---|
25 | object GroupBox1: TGroupBox
|
---|
26 | Left = 12
|
---|
27 | Height = 96
|
---|
28 | Top = 12
|
---|
29 | Width = 912
|
---|
30 | Caption = 'Unsigned integer (UInt)'
|
---|
31 | ClientHeight = 69
|
---|
32 | ClientWidth = 910
|
---|
33 | TabOrder = 0
|
---|
34 | object SpinEditUInt: TSpinEdit
|
---|
35 | Left = 9
|
---|
36 | Height = 43
|
---|
37 | Top = 12
|
---|
38 | Width = 228
|
---|
39 | MaxValue = 1000000000
|
---|
40 | TabOrder = 0
|
---|
41 | Value = 1
|
---|
42 | end
|
---|
43 | object ButtonUIntEncode: TButton
|
---|
44 | Left = 369
|
---|
45 | Height = 38
|
---|
46 | Top = 12
|
---|
47 | Width = 112
|
---|
48 | Caption = 'Encode >>'
|
---|
49 | TabOrder = 1
|
---|
50 | OnClick = ButtonUIntEncodeClick
|
---|
51 | end
|
---|
52 | object EditUInt: TEdit
|
---|
53 | Left = 489
|
---|
54 | Height = 43
|
---|
55 | Top = 12
|
---|
56 | Width = 404
|
---|
57 | TabOrder = 2
|
---|
58 | Text = '00'
|
---|
59 | end
|
---|
60 | object ButtonUIntDecode: TButton
|
---|
61 | Left = 249
|
---|
62 | Height = 38
|
---|
63 | Top = 12
|
---|
64 | Width = 112
|
---|
65 | Caption = '<< Decode'
|
---|
66 | TabOrder = 3
|
---|
67 | OnClick = ButtonUIntDecodeClick
|
---|
68 | end
|
---|
69 | end
|
---|
70 | object GroupBox2: TGroupBox
|
---|
71 | Left = 12
|
---|
72 | Height = 96
|
---|
73 | Top = 120
|
---|
74 | Width = 912
|
---|
75 | Caption = 'Signed integer (SInt)'
|
---|
76 | ClientHeight = 69
|
---|
77 | ClientWidth = 910
|
---|
78 | TabOrder = 1
|
---|
79 | object SpinEditSInt: TSpinEdit
|
---|
80 | Left = 9
|
---|
81 | Height = 43
|
---|
82 | Top = 12
|
---|
83 | Width = 228
|
---|
84 | MaxValue = 1000000000
|
---|
85 | MinValue = -1000000000
|
---|
86 | TabOrder = 0
|
---|
87 | Value = -1
|
---|
88 | end
|
---|
89 | object ButtonSIntEncode: TButton
|
---|
90 | Left = 369
|
---|
91 | Height = 38
|
---|
92 | Top = 12
|
---|
93 | Width = 112
|
---|
94 | Caption = 'Encode >>'
|
---|
95 | TabOrder = 1
|
---|
96 | OnClick = ButtonSIntEncodeClick
|
---|
97 | end
|
---|
98 | object EditSInt: TEdit
|
---|
99 | Left = 489
|
---|
100 | Height = 43
|
---|
101 | Top = 12
|
---|
102 | Width = 404
|
---|
103 | TabOrder = 2
|
---|
104 | Text = '00'
|
---|
105 | end
|
---|
106 | object ButtonSIntDecode: TButton
|
---|
107 | Left = 249
|
---|
108 | Height = 38
|
---|
109 | Top = 12
|
---|
110 | Width = 112
|
---|
111 | Caption = '<< Decode'
|
---|
112 | TabOrder = 3
|
---|
113 | OnClick = ButtonSIntDecodeClick
|
---|
114 | end
|
---|
115 | end
|
---|
116 | object GroupBox3: TGroupBox
|
---|
117 | Left = 12
|
---|
118 | Height = 96
|
---|
119 | Top = 228
|
---|
120 | Width = 912
|
---|
121 | Caption = 'String'
|
---|
122 | ClientHeight = 69
|
---|
123 | ClientWidth = 910
|
---|
124 | TabOrder = 2
|
---|
125 | object ButtonEncodeString: TButton
|
---|
126 | Left = 369
|
---|
127 | Height = 38
|
---|
128 | Top = 12
|
---|
129 | Width = 112
|
---|
130 | Caption = 'Encode >>'
|
---|
131 | TabOrder = 0
|
---|
132 | OnClick = ButtonEncodeStringClick
|
---|
133 | end
|
---|
134 | object EditStringData: TEdit
|
---|
135 | Left = 489
|
---|
136 | Height = 43
|
---|
137 | Top = 12
|
---|
138 | Width = 404
|
---|
139 | TabOrder = 1
|
---|
140 | Text = '00'
|
---|
141 | end
|
---|
142 | object ButtonDecodeString: TButton
|
---|
143 | Left = 249
|
---|
144 | Height = 38
|
---|
145 | Top = 12
|
---|
146 | Width = 112
|
---|
147 | Caption = '<< Decode'
|
---|
148 | TabOrder = 2
|
---|
149 | OnClick = ButtonDecodeStringClick
|
---|
150 | end
|
---|
151 | object EditString: TEdit
|
---|
152 | Left = 9
|
---|
153 | Height = 43
|
---|
154 | Top = 12
|
---|
155 | Width = 228
|
---|
156 | TabOrder = 3
|
---|
157 | Text = 'Hello world'
|
---|
158 | end
|
---|
159 | end
|
---|
160 | object GroupBox4: TGroupBox
|
---|
161 | Left = 12
|
---|
162 | Height = 96
|
---|
163 | Top = 336
|
---|
164 | Width = 912
|
---|
165 | Caption = 'Raw data (Block)'
|
---|
166 | ClientHeight = 69
|
---|
167 | ClientWidth = 910
|
---|
168 | TabOrder = 3
|
---|
169 | object ButtonEncodeRaw: TButton
|
---|
170 | Left = 369
|
---|
171 | Height = 38
|
---|
172 | Top = 12
|
---|
173 | Width = 112
|
---|
174 | Caption = 'Encode >>'
|
---|
175 | TabOrder = 0
|
---|
176 | OnClick = ButtonEncodeRawClick
|
---|
177 | end
|
---|
178 | object EditRawData: TEdit
|
---|
179 | Left = 489
|
---|
180 | Height = 43
|
---|
181 | Top = 12
|
---|
182 | Width = 404
|
---|
183 | TabOrder = 1
|
---|
184 | Text = '00'
|
---|
185 | end
|
---|
186 | object ButtonDecodeRaw: TButton
|
---|
187 | Left = 249
|
---|
188 | Height = 38
|
---|
189 | Top = 12
|
---|
190 | Width = 112
|
---|
191 | Caption = '<< Decode'
|
---|
192 | TabOrder = 2
|
---|
193 | OnClick = ButtonDecodeRawClick
|
---|
194 | end
|
---|
195 | object EditRaw: TEdit
|
---|
196 | Left = 9
|
---|
197 | Height = 43
|
---|
198 | Top = 12
|
---|
199 | Width = 228
|
---|
200 | TabOrder = 3
|
---|
201 | Text = '01 23 45 67 89 AB CD EF'
|
---|
202 | end
|
---|
203 | end
|
---|
204 | object GroupBox5: TGroupBox
|
---|
205 | Left = 12
|
---|
206 | Height = 96
|
---|
207 | Top = 444
|
---|
208 | Width = 912
|
---|
209 | Caption = 'Float'
|
---|
210 | ClientHeight = 69
|
---|
211 | ClientWidth = 910
|
---|
212 | TabOrder = 4
|
---|
213 | object ButtonFloatEncode1: TButton
|
---|
214 | Left = 369
|
---|
215 | Height = 38
|
---|
216 | Top = 12
|
---|
217 | Width = 112
|
---|
218 | Caption = 'Encode >>'
|
---|
219 | TabOrder = 0
|
---|
220 | OnClick = ButtonFloatEncode1Click
|
---|
221 | end
|
---|
222 | object EditFloat: TEdit
|
---|
223 | Left = 489
|
---|
224 | Height = 43
|
---|
225 | Top = 12
|
---|
226 | Width = 404
|
---|
227 | TabOrder = 1
|
---|
228 | Text = '00'
|
---|
229 | end
|
---|
230 | object ButtonFloatDecode1: TButton
|
---|
231 | Left = 249
|
---|
232 | Height = 38
|
---|
233 | Top = 10
|
---|
234 | Width = 112
|
---|
235 | Caption = '<< Decode'
|
---|
236 | TabOrder = 2
|
---|
237 | OnClick = ButtonFloatDecode1Click
|
---|
238 | end
|
---|
239 | object FloatSpinEdit1: TFloatSpinEdit
|
---|
240 | Left = 9
|
---|
241 | Height = 43
|
---|
242 | Top = 10
|
---|
243 | Width = 144
|
---|
244 | DecimalPlaces = 8
|
---|
245 | MaxValue = 1000000000
|
---|
246 | MinValue = -100000000
|
---|
247 | TabOrder = 3
|
---|
248 | end
|
---|
249 | object SpinEditFloat: TSpinEdit
|
---|
250 | Left = 165
|
---|
251 | Height = 43
|
---|
252 | Top = 24
|
---|
253 | Width = 75
|
---|
254 | MaxValue = 16
|
---|
255 | MinValue = 2
|
---|
256 | TabOrder = 4
|
---|
257 | Value = 2
|
---|
258 | end
|
---|
259 | object Label1: TLabel
|
---|
260 | Left = 166
|
---|
261 | Height = 26
|
---|
262 | Top = 0
|
---|
263 | Width = 41
|
---|
264 | Caption = 'Base'
|
---|
265 | ParentColor = False
|
---|
266 | end
|
---|
267 | end
|
---|
268 | end
|
---|
269 | object TabSheet2: TTabSheet
|
---|
270 | Caption = 'Indexed structure'
|
---|
271 | ClientHeight = 548
|
---|
272 | ClientWidth = 938
|
---|
273 | object EditIndexedItem1: TEdit
|
---|
274 | Left = 54
|
---|
275 | Height = 43
|
---|
276 | Top = 51
|
---|
277 | Width = 336
|
---|
278 | TabOrder = 0
|
---|
279 | Text = '11 22'
|
---|
280 | end
|
---|
281 | object Label2: TLabel
|
---|
282 | Left = 15
|
---|
283 | Height = 26
|
---|
284 | Top = 57
|
---|
285 | Width = 20
|
---|
286 | Caption = '0: '
|
---|
287 | ParentColor = False
|
---|
288 | end
|
---|
289 | object Label3: TLabel
|
---|
290 | Left = 15
|
---|
291 | Height = 26
|
---|
292 | Top = 92
|
---|
293 | Width = 15
|
---|
294 | Caption = '1:'
|
---|
295 | ParentColor = False
|
---|
296 | end
|
---|
297 | object EditIndexedItem2: TEdit
|
---|
298 | Left = 54
|
---|
299 | Height = 43
|
---|
300 | Top = 87
|
---|
301 | Width = 336
|
---|
302 | TabOrder = 1
|
---|
303 | Text = '33 44'
|
---|
304 | end
|
---|
305 | object EditIndexedItem3: TEdit
|
---|
306 | Left = 54
|
---|
307 | Height = 43
|
---|
308 | Top = 129
|
---|
309 | Width = 336
|
---|
310 | TabOrder = 2
|
---|
311 | Text = '55 66'
|
---|
312 | end
|
---|
313 | object Label4: TLabel
|
---|
314 | Left = 15
|
---|
315 | Height = 26
|
---|
316 | Top = 134
|
---|
317 | Width = 15
|
---|
318 | Caption = '2:'
|
---|
319 | ParentColor = False
|
---|
320 | end
|
---|
321 | object ButtonEncodeIndexed: TButton
|
---|
322 | Left = 234
|
---|
323 | Height = 38
|
---|
324 | Top = 183
|
---|
325 | Width = 112
|
---|
326 | Caption = 'Encode >>'
|
---|
327 | TabOrder = 3
|
---|
328 | OnClick = ButtonEncodeIndexedClick
|
---|
329 | end
|
---|
330 | object ButtonDecodeIndexed: TButton
|
---|
331 | Left = 102
|
---|
332 | Height = 38
|
---|
333 | Top = 183
|
---|
334 | Width = 112
|
---|
335 | Caption = '<< Decode'
|
---|
336 | TabOrder = 4
|
---|
337 | OnClick = ButtonDecodeIndexedClick
|
---|
338 | end
|
---|
339 | object EditIndexed: TEdit
|
---|
340 | Left = 15
|
---|
341 | Height = 43
|
---|
342 | Top = 231
|
---|
343 | Width = 882
|
---|
344 | TabOrder = 5
|
---|
345 | end
|
---|
346 | object CheckBoxMask1: TCheckBox
|
---|
347 | Left = 426
|
---|
348 | Height = 23
|
---|
349 | Top = 51
|
---|
350 | Width = 23
|
---|
351 | Checked = True
|
---|
352 | State = cbChecked
|
---|
353 | TabOrder = 6
|
---|
354 | end
|
---|
355 | object CheckBoxMask2: TCheckBox
|
---|
356 | Left = 426
|
---|
357 | Height = 23
|
---|
358 | Top = 88
|
---|
359 | Width = 23
|
---|
360 | Checked = True
|
---|
361 | State = cbChecked
|
---|
362 | TabOrder = 7
|
---|
363 | end
|
---|
364 | object CheckBoxMask3: TCheckBox
|
---|
365 | Left = 426
|
---|
366 | Height = 23
|
---|
367 | Top = 132
|
---|
368 | Width = 23
|
---|
369 | Checked = True
|
---|
370 | State = cbChecked
|
---|
371 | TabOrder = 8
|
---|
372 | end
|
---|
373 | object Label5: TLabel
|
---|
374 | Left = 402
|
---|
375 | Height = 26
|
---|
376 | Top = 27
|
---|
377 | Width = 74
|
---|
378 | Caption = 'Bit mask'
|
---|
379 | ParentColor = False
|
---|
380 | end
|
---|
381 | object Label6: TLabel
|
---|
382 | Left = 12
|
---|
383 | Height = 26
|
---|
384 | Top = 16
|
---|
385 | Width = 48
|
---|
386 | Caption = 'Index'
|
---|
387 | ParentColor = False
|
---|
388 | end
|
---|
389 | end
|
---|
390 | end
|
---|
391 | end
|
---|