-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Unit1.dfm
651 lines (645 loc) · 18.4 KB
/
Unit1.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
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
object Form1: TForm1
Width = 960
Height = 596
ElementFont = efCSS
OnCreate = WebFormCreate
OnResize = WebFormResize
OnShow = WebFormResize
object divMain: TWebHTMLDiv
Left = 8
Top = 8
Width = 300
Height = 449
ElementClassName = 'rounded border border-primary bg-light'
ElementID = 'divMain'
Role = ''
object divFooter: TWebHTMLDiv
AlignWithMargins = True
Left = 4
Top = 401
Width = 292
Height = 44
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
ElementID = 'divFooter'
Align = alBottom
ChildOrder = 1
ElementFont = efCSS
Role = ''
object btnPrevious: TWebButton
Left = 0
Top = 0
Width = 44
Height = 44
Align = alLeft
Caption =
'<i class="fa-solid fa-circle-left fa-2x" style="font-size:42px; ' +
'margin-top:-4px; margin-left:-8px;"></i>'
ElementClassName = 'btn btn-light btn-sm text-primary rounded-circle'
ElementID = 'btnPrevious'
ElementFont = efCSS
Enabled = False
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
OnClick = btnPreviousClick
end
object btnNext: TWebButton
Left = 248
Top = 0
Width = 44
Height = 44
Align = alRight
Caption =
'<i class="fa-solid fa-circle-right fa-2x" style="font-size:42px;' +
' margin-top:-4px; margin-left:-8px;"></i>'
ChildOrder = 2
ElementClassName = 'btn btn-light btn-sm text-primary rounded-circle'
ElementID = 'btnNext'
ElementFont = efCSS
Enabled = False
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
OnClick = btnNextClick
end
object divSubTitleHolder: TWebHTMLDiv
AlignWithMargins = True
Left = 48
Top = 0
Width = 196
Height = 44
Margins.Left = 4
Margins.Top = 0
Margins.Right = 4
Margins.Bottom = 0
ElementClassName =
'user-select-none pe-none border border-primary rounded bg-white ' +
'overflow-hidden'
ElementID = 'divSubtitleHolder'
Align = alClient
ChildOrder = 1
ElementFont = efCSS
Role = ''
object divSubtitle: TWebHTMLDiv
AlignWithMargins = True
Left = 4
Top = 0
Width = 188
Height = 44
Margins.Left = 4
Margins.Top = 0
Margins.Right = 4
Margins.Bottom = 0
ElementClassName =
'user-select-none pe-none SubTitle rounded border border-0 bg-non' +
'e d-none align-items-center justify-content-center text-center l' +
'h-1'
ElementID = 'divSubtitle'
Align = alClient
ChildOrder = 1
ElementFont = efCSS
HTML.Strings = (
'Check Survey Link')
Role = ''
end
object divSubtitleProgress: TWebHTMLDiv
AlignWithMargins = True
Left = 8
Top = 0
Width = 188
Height = 44
Margins.Left = 0
Margins.Top = 0
Margins.Right = 0
Margins.Bottom = 0
ElementClassName = 'pe-none bg-primary user-select-none'
ElementID = 'divSubtitleProgress'
ElementFont = efCSS
Role = ''
end
end
end
object divHeader: TWebHTMLDiv
AlignWithMargins = True
Left = 4
Top = 4
Width = 292
Height = 44
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
ElementID = 'divHeader'
Align = alTop
ElementFont = efCSS
Role = ''
object divTitle: TWebHTMLDiv
AlignWithMargins = True
Left = 48
Top = 0
Width = 196
Height = 44
Margins.Left = 4
Margins.Top = 0
Margins.Right = 4
Margins.Bottom = 0
ElementClassName =
'user-select-none pe-none Title rounded border border-primary bg-' +
'white d-none align-items-center justify-content-center text-cent' +
'er lh-1'
ElementID = 'divTitle'
Align = alClient
ElementFont = efCSS
HTML.Strings = (
'No Survey Specified')
Role = ''
end
object btnAbout: TWebButton
Left = 0
Top = 0
Width = 44
Height = 44
Hint = 'About'
Align = alLeft
Caption = '<i class="fa-solid fa-chart-simple fa-fw fa-2x"></i>'
ChildOrder = 1
ElementClassName =
'btn btn-primary btn-sm text-white d-flex justify-content-center ' +
'align-items-center'
ElementID = 'btnAbout'
ElementFont = efCSS
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
OnClick = btnAboutClick
end
object btnMessage: TWebButton
Left = 248
Top = 0
Width = 44
Height = 44
Hint = 'Feedback'
Align = alRight
Caption = '<i class="fa-solid fa-message fa-fw fa-2x"></i>'
ChildOrder = 2
ElementClassName =
'btn btn-primary btn-sm text-white d-flex justify-content-center ' +
'align-items-center'
ElementID = 'btnMessage'
ElementFont = efCSS
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
OnClick = btnMessageClick
end
end
object divMiddle: TWebHTMLDiv
AlignWithMargins = True
Left = 4
Top = 52
Width = 292
Height = 343
Margins.Left = 4
Margins.Top = 0
Margins.Right = 4
Margins.Bottom = 2
ElementClassName =
'Content rounded border border-primary bg-white d-none align-item' +
's-center justify-content-center'
ElementID = 'divMiddle'
Align = alClient
ChildOrder = 2
ElementFont = efCSS
HTML.Strings = (
'<div class="w-100 h-100 rounded bg-white d-flex align-items-cent' +
'er justify-content-center">'
' <div class="mx-3">'
' <p>Sorry!</p><br />'
' <p>No survey was found using the information in the link pro' +
'vided.</p><br />'
' <p>The survey may have been updated to use a new link, or th' +
'e survey may have been retracted entirely.</p><br />'
' <p>Please contact the survey provider for more information.<' +
'/p>'
' </div>'
'</div>'
'')
Role = ''
end
end
object divAbout: TWebHTMLDiv
Left = 326
Top = 8
Width = 300
Height = 449
ElementClassName = 'rounded border border-primary bg-light'
ElementID = 'divAbout'
ChildOrder = 1
ElementFont = efCSS
Role = ''
object divAboutHeader: TWebHTMLDiv
AlignWithMargins = True
Left = 4
Top = 4
Width = 292
Height = 44
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
ElementID = 'divAboutHeader'
Align = alTop
ElementFont = efCSS
Role = ''
object divAboutTitle: TWebHTMLDiv
AlignWithMargins = True
Left = 48
Top = 0
Width = 196
Height = 44
Margins.Left = 4
Margins.Top = 0
Margins.Right = 4
Margins.Bottom = 0
ElementClassName =
'pe-none user-select-none Title rounded border border-primary bg-' +
'white d-flex align-items-center justify-content-center text-cent' +
'er lh-1'
ElementID = 'divAboutTitle'
Align = alClient
ElementFont = efCSS
HTML.Strings = (
'About SurveyApp')
Role = ''
end
object btnAboutAbout: TWebButton
Left = 0
Top = 0
Width = 44
Height = 44
Hint = 'About'
Align = alLeft
Caption = '<i class="fa-solid fa-chart-simple fa-fw fa-2x"></i>'
ChildOrder = 1
ElementClassName =
'pe-none btn btn-success btn-sm text-white d-flex justify-content' +
'-center align-items-center'
ElementID = 'btnAboutAbout'
ElementFont = efCSS
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
OnClick = btnAboutClick
end
object btnAboutMessage: TWebButton
Left = 248
Top = 0
Width = 44
Height = 44
Hint = 'Feedback'
Align = alRight
Caption = '<i class="fa-solid fa-message fa-fw fa-2x"></i>'
ChildOrder = 2
ElementClassName =
'btn btn-primary btn-sm text-white d-flex justify-content-center ' +
'align-items-center'
ElementID = 'btnAboutMessage'
ElementFont = efCSS
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
OnClick = btnMessageClick
end
end
object divAboutFooter: TWebHTMLDiv
AlignWithMargins = True
Left = 4
Top = 401
Width = 292
Height = 44
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
ElementClassName = 'd-flex justify-content-evenly'
ElementID = 'divBottomFeedback'
Align = alBottom
ChildOrder = 1
ElementFont = efCSS
Role = ''
object labelAboutVersion: TWebLabel
Left = 24
Top = 0
Width = 70
Height = 50
Alignment = taCenter
AutoSize = False
Caption = 'Version'
ElementClassName =
'd-flex justify-content-center order-0 pt-2 text-primary opacity-' +
'75 lh-sm'
ElementID = 'labelAboutVersion'
ElementFont = efCSS
ElementPosition = epIgnore
HeightPercent = 100.000000000000000000
Layout = tlCenter
WidthPercent = 100.000000000000000000
end
object labelAboutRelease: TWebLabel
Left = 216
Top = 0
Width = 70
Height = 50
Alignment = taCenter
AutoSize = False
Caption = 'Released'
ChildOrder = 2
ElementClassName =
'd-flex justify-content-center order-2 pt-2 text-primary opacity-' +
'75 lh-sm'
ElementID = 'labelAboutRelease'
ElementFont = efCSS
ElementPosition = epIgnore
HeightPercent = 100.000000000000000000
Layout = tlCenter
WidthPercent = 100.000000000000000000
end
object btnAboutOK: TWebButton
Left = 97
Top = 0
Width = 97
Height = 44
Caption =
'<div style="font-size:16px;" class="mx-1"><i class="fa-solid fa-' +
'thumbs-up fa-xl me-1"></i> Got It!</div>'
ChildOrder = 1
ElementClassName = 'order-1 btn btn-sm btn-primary me-1'
ElementID = 'btnAboutOK'
ElementFont = efCSS
ElementPosition = epIgnore
HeightPercent = 100.000000000000000000
WidthStyle = ssAuto
WidthPercent = 100.000000000000000000
OnClick = btnAboutOKClick
end
end
object divAboutContent: TWebHTMLDiv
AlignWithMargins = True
Left = 4
Top = 52
Width = 292
Height = 343
Margins.Left = 4
Margins.Top = 0
Margins.Right = 4
Margins.Bottom = 2
ElementClassName =
'About Content rounded border border-primary bg-white d-flex alig' +
'n-items-center justify-content-center'
ElementID = 'divAboutContent'
Align = alClient
ChildOrder = 2
Role = ''
end
end
object divFeedback: TWebHTMLDiv
Left = 646
Top = 8
Width = 300
Height = 449
ElementClassName = 'rounded border border-primary bg-light'
ElementID = 'divFeedback'
ChildOrder = 1
ElementFont = efCSS
Role = ''
object divFeedbackHeader: TWebHTMLDiv
AlignWithMargins = True
Left = 4
Top = 4
Width = 292
Height = 44
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
ElementID = 'divFeedbackHeader'
Align = alTop
ElementFont = efCSS
Role = ''
object divFeedbackTitle: TWebHTMLDiv
AlignWithMargins = True
Left = 48
Top = 0
Width = 196
Height = 44
Margins.Left = 4
Margins.Top = 0
Margins.Right = 4
Margins.Bottom = 0
ElementClassName =
'user-select-none Title rounded border border-primary bg-white d-' +
'flex align-items-center justify-content-center text-center lh-1'
ElementID = 'divFeedbackTitle'
Align = alClient
ElementFont = efCSS
HTML.Strings = (
'Feedback')
Role = ''
end
object btnFeedbackAbout: TWebButton
Left = 0
Top = 0
Width = 44
Height = 44
Hint = 'About'
Align = alLeft
Caption = '<i class="fa-solid fa-chart-simple fa-fw fa-2x"></i>'
ChildOrder = 1
ElementClassName =
'btn btn-primary btn-sm text-white d-flex justify-content-center ' +
'align-items-center'
ElementID = 'btnAbout'
ElementFont = efCSS
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
OnClick = btnAboutClick
end
object btnFeedbackFeedback: TWebButton
Left = 248
Top = 0
Width = 44
Height = 44
Hint = 'Feedback'
Align = alRight
Caption = '<i class="fa-solid fa-message fa-fw fa-2x"></i>'
ChildOrder = 2
ElementClassName =
'pe-none btn btn-success btn-sm text-white d-flex justify-content' +
'-center align-items-center'
ElementID = 'btnMessage'
ElementFont = efCSS
HeightPercent = 100.000000000000000000
WidthPercent = 100.000000000000000000
OnClick = btnMessageClick
end
end
object divBottomFeedback: TWebHTMLDiv
AlignWithMargins = True
Left = 4
Top = 401
Width = 292
Height = 44
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
ElementClassName = 'd-flex justify-content-center'
ElementID = 'divBottomFeedback'
Align = alBottom
ChildOrder = 1
ElementFont = efCSS
Role = ''
object btnSubmitFeedback: TWebButton
Left = 138
Top = -1
Width = 97
Height = 44
Caption =
'<div style="font-size:16px;" class="ms-1 me-2"><i class="fa-soli' +
'd fa-paper-plane fa-xl me-2"></i>Send</div>'
ChildOrder = 1
ElementClassName = 'order-1 btn btn-sm btn-primary ms-1'
ElementID = 'btnSubmitFeedback'
ElementFont = efCSS
ElementPosition = epIgnore
HeightPercent = 100.000000000000000000
WidthStyle = ssAuto
WidthPercent = 100.000000000000000000
OnClick = btnSubmitFeedbackClick
end
object btnCancelFeedback: TWebButton
Left = 32
Top = -1
Width = 100
Height = 44
Caption =
'<div style="font-size:16px;" class="ms-1 me-2"><i class="fa-sol' +
'id fa-cross fa-xmark me-2 fa-xl"></i>Cancel</div>'
ElementClassName = 'order-0 btn btn-sm btn-danger me-1'
ElementID = 'btnCancelFeedback'
ElementFont = efCSS
ElementPosition = epIgnore
HeightPercent = 100.000000000000000000
WidthStyle = ssAuto
WidthPercent = 100.000000000000000000
OnClick = btnCancelFeedbackClick
end
end
object divFeedbackHolder: TWebHTMLDiv
Left = 0
Top = 52
Width = 300
Height = 345
ElementClassName = 'd-flex flex-column'
ElementID = 'divFeedbackHolder'
Align = alClient
ChildOrder = 4
ElementFont = efCSS
Role = ''
object divFeedbackForm: TWebHTMLDiv
AlignWithMargins = True
Left = 4
Top = 0
Width = 292
Height = 37
Margins.Left = 4
Margins.Top = 0
Margins.Right = 4
Margins.Bottom = 0
ElementClassName = 'Feedback Content order-0'
ElementID = 'divFeedbackInstructions'
HeightStyle = ssAuto
HeightPercent = 50.000000000000000000
Align = alTop
ChildOrder = 2
ElementPosition = epRelative
ElementFont = efCSS
HTML.Strings = (
'<div class="mx-3 mt-3 text-primary">'
' <p>We want to hear from you!</p>'
' <p> We'#39'd love to get feedback on this app, the survey, indivi' +
'dual survey questions or responses, or anything else about this ' +
'survey experience, from your '
'perspective.</p>'
' <p> If you wish to receive a response, please let us know how ' +
'to reach you.</p>'
'</div>')
Role = ''
end
object memoFeedback: TWebMemo
AlignWithMargins = True
Left = 4
Top = 37
Width = 292
Height = 306
Margins.Left = 4
Margins.Top = 0
Margins.Right = 4
Margins.Bottom = 2
Align = alClient
AutoSize = False
BorderStyle = bsNone
ElementClassName = 'order-1 flex-fill rounded border border-primary p-2 bg-white'
ElementID = 'memoFeedback'
ElementFont = efCSS
ElementPosition = epRelative
HeightStyle = ssAuto
HeightPercent = 100.000000000000000000
SelLength = 0
SelStart = 0
WidthPercent = 100.000000000000000000
end
end
end
object divBefore: TWebHTMLDiv
Left = 43
Top = 80
Width = 20
Height = 20
ElementClassName = 'before'
ElementID = 'divBefore'
ChildOrder = 3
ElementFont = efCSS
Role = ''
end
object divAfter: TWebHTMLDiv
Left = 214
Top = 304
Width = 20
Height = 20
ElementClassName = 'after'
ElementID = 'divAfter'
ChildOrder = 3
ElementFont = efCSS
Role = ''
end
object ServerConn: TXDataWebConnection
Left = 394
Top = 332
end
object ClientConn: TXDataWebClient
Connection = ServerConn
Left = 474
Top = 332
end
object tmrRetry: TWebTimer
Enabled = False
Interval = 30000
OnTimer = tmrRetryTimer
Left = 490
Top = 268
end
object tmrCountdown: TWebTimer
Enabled = False
OnTimer = tmrCountdownTimer
Left = 426
Top = 268
end
end