-
Notifications
You must be signed in to change notification settings - Fork 4
/
fmIntuitDemo.dfm
638 lines (638 loc) · 14.2 KB
/
fmIntuitDemo.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
object Form1: TForm1
Left = 0
Top = 0
Caption = 'Intuit Login Demo'
ClientHeight = 462
ClientWidth = 866
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
Menu = MainMenu
Position = poDesigned
OnCreate = FormCreate
TextHeight = 13
object GridPanel1: TGridPanel
Left = 0
Top = 42
Width = 866
Height = 401
Align = alClient
Caption = 'GridPanel1'
ColumnCollection = <
item
Value = 50.000000000000000000
end
item
Value = 50.000000000000000000
end>
ControlCollection = <
item
Column = 0
Control = GridPanel2
Row = 0
end
item
Column = 1
Control = PageControl1
Row = 0
end>
RowCollection = <
item
Value = 100.000000000000000000
end
item
SizeStyle = ssAuto
end>
TabOrder = 1
ExplicitWidth = 862
ExplicitHeight = 400
object GridPanel2: TGridPanel
Left = 1
Top = 1
Width = 432
Height = 399
Align = alClient
Caption = 'GridPanel2'
ColumnCollection = <
item
Value = 100.000000000000000000
end>
ControlCollection = <
item
Column = 0
Control = DirectoryListBox1
Row = 0
end
item
Column = 0
Control = FileListBox1
Row = 1
end>
RowCollection = <
item
Value = 50.000000000000000000
end
item
Value = 50.000000000000000000
end
item
SizeStyle = ssAuto
end>
TabOrder = 0
ExplicitWidth = 430
ExplicitHeight = 398
object DirectoryListBox1: TDirectoryListBox
Left = 1
Top = 1
Width = 430
Height = 198
Align = alClient
FileList = FileListBox1
TabOrder = 0
ExplicitWidth = 428
end
object FileListBox1: TFileListBox
Left = 1
Top = 199
Width = 430
Height = 199
Align = alClient
ItemHeight = 13
Mask = '*.pdf'
TabOrder = 1
OnChange = FileListBoxEx1Change
ExplicitWidth = 428
ExplicitHeight = 198
end
end
object PageControl1: TPageControl
Left = 433
Top = 1
Width = 432
Height = 399
ActivePage = tsSuppliers
Align = alClient
TabOrder = 1
OnChange = PageControl1Change
object TabSheet1: TTabSheet
Caption = 'Log'
object Memo1: TMemo
Left = 0
Top = 0
Width = 424
Height = 371
Align = alClient
Lines.Strings = (
'Memo1')
TabOrder = 0
end
end
object TabSheet2: TTabSheet
Caption = 'Invoice Info'
ImageIndex = 1
object Label1: TLabel
Left = -2
Top = 19
Width = 61
Height = 13
Caption = 'Invoice Date'
end
object Label2: TLabel
Left = 0
Top = 46
Width = 62
Height = 13
Caption = 'Invoice From'
end
object Label3: TLabel
Left = 0
Top = 70
Width = 50
Height = 13
Caption = 'Invoice To'
end
object Label4: TLabel
Left = 0
Top = 100
Width = 51
Height = 13
Caption = 'Invoice No'
end
object Label5: TLabel
Left = 198
Top = 19
Width = 55
Height = 13
Caption = 'Total Hours'
end
object Label6: TLabel
Left = 198
Top = 46
Width = 64
Height = 13
Caption = 'Total Amount'
end
object Label7: TLabel
Left = 200
Top = 74
Width = 44
Height = 13
Caption = 'ClientRef'
end
object Label8: TLabel
Left = 200
Top = 100
Width = 34
Height = 13
Caption = 'Project'
end
object edtClientRef: TEdit
Left = 274
Top = 71
Width = 120
Height = 21
TabOrder = 0
end
object edtProject: TEdit
Left = 266
Top = 98
Width = 120
Height = 21
TabOrder = 1
end
object StringGrid1: TStringGrid
Left = 0
Top = 166
Width = 424
Height = 205
Align = alBottom
Anchors = [akLeft, akTop, akRight, akBottom]
FixedCols = 0
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goColSizing, goEditing, goRowSelect, goFixedRowDefAlign]
TabOrder = 2
end
object edtInvoiceNo: TEdit
Left = 58
Top = 97
Width = 121
Height = 21
TabOrder = 3
Text = 'edtInvoiceNo'
end
object meTotalAmount: TEdit
Left = 268
Top = 44
Width = 121
Height = 21
TabOrder = 4
Text = 'meTotalAmount'
end
object meTotalHours: TEdit
Left = 272
Top = 17
Width = 121
Height = 21
TabOrder = 5
Text = 'meTotalHours'
end
object InvoiceDateDatePicker: TDateTimePicker
Left = 66
Top = 17
Width = 111
Height = 21
Date = 44922.000000000000000000
Time = 0.976881793983920900
TabOrder = 6
end
object InvoiceDateFromDatePicker: TDateTimePicker
Left = 64
Top = 43
Width = 113
Height = 21
Date = 44922.000000000000000000
Time = 0.977810972224688200
TabOrder = 7
end
object InvoiceDateToPicker: TDateTimePicker
Left = 64
Top = 66
Width = 113
Height = 21
Date = 44922.000000000000000000
Time = 0.977810972224688200
TabOrder = 8
end
end
object tsCustomers: TTabSheet
Caption = 'Customers'
ImageIndex = 2
object lvCustomers: TListView
Left = 0
Top = 0
Width = 424
Height = 371
Align = alClient
Columns = <
item
Caption = 'Id'
end
item
Caption = 'DisplayName'
Width = 200
end>
RowSelect = True
TabOrder = 0
ViewStyle = vsReport
end
end
object tsInvoices: TTabSheet
Caption = 'Invoices'
ImageIndex = 3
object lvInvoices: TListView
Left = 0
Top = 0
Width = 424
Height = 371
Align = alClient
Columns = <
item
Caption = 'Id'
end
item
Caption = 'CustomerRefName'
Width = 100
end
item
Caption = 'CustomerRefValue'
Width = 100
end
item
Caption = 'Total'
end
item
Caption = 'Date'
end>
RowSelect = True
TabOrder = 0
ViewStyle = vsReport
ExplicitWidth = 422
ExplicitHeight = 370
end
end
object tsSuppliers: TTabSheet
Caption = 'Suppliers'
ImageIndex = 4
object lvSuppliers: TListView
Left = 0
Top = 0
Width = 424
Height = 371
Align = alClient
Columns = <
item
Caption = 'Id'
end
item
Caption = 'DisplayName'
Width = 200
end
item
Caption = 'Balance'
end>
RowSelect = True
TabOrder = 0
ViewStyle = vsReport
end
end
end
end
object StatusBar1: TStatusBar
Left = 0
Top = 443
Width = 866
Height = 19
Anchors = []
Panels = <
item
Width = 500
end
item
Width = 50
end>
ExplicitTop = 442
ExplicitWidth = 862
end
object GridPanel3: TGridPanel
Left = 0
Top = 0
Width = 866
Height = 42
Align = alTop
ColumnCollection = <
item
Value = 14.215147155716520000
end
item
Value = 10.464527289654270000
end
item
Value = 8.529088293429915000
end
item
Value = 9.381997122772907000
end
item
Value = 10.320196835050200000
end
item
Value = 11.352216518555220000
end
item
Value = 12.487438170410740000
end
item
Value = 13.736181987451810000
end
item
Value = 9.513206626958402000
end>
ControlCollection = <
item
Column = 0
Control = btnAddInvoiceLine
Row = 0
end
item
Column = 1
Control = btnAttachFile
Row = 0
end
item
Column = 3
Control = btnCreateInvoiceFromObject
Row = 0
end
item
Column = 6
Control = btnUploadInvoice
Row = 0
end
item
Column = 0
Control = Button3
Row = 1
end>
RowCollection = <
item
Value = 50.000000000000000000
end
item
Value = 50.000000000000000000
end
item
SizeStyle = ssAuto
end
item
SizeStyle = ssAuto
end
item
SizeStyle = ssAuto
end>
TabOrder = 2
ExplicitLeft = -1
ExplicitTop = -4
DesignSize = (
866
42)
object btnAddInvoiceLine: TButton
Left = 10
Top = 1
Width = 104
Height = 25
Anchors = []
Caption = 'Add Invoice Line'
TabOrder = 0
OnClick = btnAddInvoiceLineClick
end
object btnAttachFile: TButton
Left = 135
Top = 1
Width = 67
Height = 25
Anchors = []
Caption = 'Attach File'
TabOrder = 1
OnClick = btnAttachFileClick
ExplicitLeft = 134
end
object btnCreateInvoiceFromObject: TButton
Left = 288
Top = 1
Width = 143
Height = 25
Anchors = []
Caption = 'Create Invoice From Object'
TabOrder = 2
OnClick = btnCreateInvoiceFromObjectClick
ExplicitLeft = 289
end
object btnUploadInvoice: TButton
Left = 565
Top = 1
Width = 90
Height = 25
Anchors = []
Caption = 'Upload Invoice'
TabOrder = 3
OnClick = btnUploadInvoiceClick
ExplicitLeft = 562
end
object Button3: TButton
Left = 21
Top = 21
Width = 82
Height = 25
Anchors = []
Caption = 'Create Invoice'
TabOrder = 4
Visible = False
OnClick = Button3Click
end
end
object BindSourceDB1: TBindSourceDB
DataSet = dmIntuitAPI.tblCustomers
ScopeMappings = <>
Left = 424
Top = 240
end
object BindingsList1: TBindingsList
Methods = <>
OutputConverters = <>
Left = 68
Top = 85
object LinkListControlToField1: TLinkListControlToField
Category = 'Quick Bindings'
DataSource = BindSourceDB1
FieldName = 'Id'
Control = lvCustomers
FillExpressions = <
item
SourceMemberName = 'DisplayName'
ControlMemberName = 'SubItems[0]'
end>
FillHeaderExpressions = <>
FillBreakGroups = <>
end
object LinkListControlToField2: TLinkListControlToField
Category = 'Quick Bindings'
DataSource = BindSourceDB2
FieldName = 'Id'
Control = lvInvoices
FillExpressions = <
item
SourceMemberName = 'CustomerRefName'
ControlMemberName = 'SubItems[0]'
end
item
SourceMemberName = 'CustomerRefValue'
ControlMemberName = 'SubItems[1]'
end
item
SourceMemberName = 'TotalAmount'
ControlMemberName = 'SubItems[2]'
end
item
SourceMemberName = 'TxnDate'
ControlMemberName = 'SubItems[3]'
end>
FillHeaderExpressions = <>
FillBreakGroups = <>
end
object LinkListControlToField3: TLinkListControlToField
Category = 'Quick Bindings'
DataSource = BindSourceDB3
FieldName = 'Id'
Control = lvSuppliers
FillExpressions = <
item
SourceMemberName = 'DisplayName'
ControlMemberName = 'SubItems[0]'
end
item
SourceMemberName = 'Balance'
ControlMemberName = 'SubItems[1]'
end>
FillHeaderExpressions = <>
FillBreakGroups = <>
end
end
object MainMenu: TMainMenu
Left = 597
Top = 235
object File1: TMenuItem
Caption = '&File'
object Login1: TMenuItem
Caption = 'Login...'
OnClick = LoginClick
end
object New1: TMenuItem
Caption = '&New'
end
object Open1: TMenuItem
Caption = '&Open...'
end
object Save1: TMenuItem
Caption = '&Save'
end
object SaveAs1: TMenuItem
Caption = 'Save &As...'
end
object N2: TMenuItem
Caption = '-'
end
object Print1: TMenuItem
Caption = '&Print...'
end
object PrintSetup1: TMenuItem
Caption = 'P&rint Setup...'
end
object N1: TMenuItem
Caption = '-'
end
object Exit1: TMenuItem
Caption = 'E&xit'
OnClick = Exit1Click
end
end
object Environment1: TMenuItem
Caption = 'Environment'
object Sandbox1: TMenuItem
AutoCheck = True
Caption = 'Sandbox'
RadioItem = True
OnClick = Sandbox1Click
end
object Production1: TMenuItem
AutoCheck = True
Caption = 'Production'
RadioItem = True
OnClick = Production1Click
end
end
end
object BindSourceDB2: TBindSourceDB
DataSet = dmIntuitAPI.tblInvoices
ScopeMappings = <>
Left = 424
Top = 248
end
object BindSourceDB3: TBindSourceDB
DataSet = dmIntuitAPI.tblVendors
ScopeMappings = <>
Left = 432
Top = 256
end
end