-
Notifications
You must be signed in to change notification settings - Fork 1
/
Unit12.dfm
590 lines (590 loc) · 14.7 KB
/
Unit12.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
object Form12: TForm12
Left = 0
Top = 0
Caption = 'CASHIER MODE'
ClientHeight = 600
ClientWidth = 1184
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnCanResize = FormCanResize
OnCloseQuery = FormCloseQuery
OnCreate = FormCreate
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object GridPanel1: TGridPanel
Left = 0
Top = 0
Width = 1184
Height = 600
Align = alClient
ColumnCollection = <
item
Value = 2.000000000000000000
end
item
Value = 51.000000000000000000
end
item
Value = 10.000000000000000000
end
item
Value = 35.000000000000000000
end
item
Value = 2.000000000000000000
end>
ControlCollection = <
item
Column = 0
ColumnSpan = 5
Control = Panel1
Row = 0
end
item
Column = 1
Control = TabControl1
Row = 1
end
item
Column = 2
Control = GridPanel2
Row = 1
end
item
Column = 3
Control = GridPanel3
Row = 1
end
item
Column = 3
Control = Label4
Row = 2
end>
RowCollection = <
item
Value = 10.000000000000000000
end
item
Value = 88.000000000000000000
end
item
Value = 2.000000000000000000
end>
TabOrder = 0
DesignSize = (
1184
600)
object Panel1: TPanel
Left = 1
Top = 1
Width = 1182
Height = 59
Align = alClient
BevelOuter = bvNone
Caption = 'MANAGE STOCK'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -48
Font.Name = 'Takion'
Font.Style = [fsBold, fsItalic]
ParentFont = False
TabOrder = 0
object Image1: TImage
Left = 0
Top = 0
Width = 49
Height = 59
Cursor = crHandPoint
Align = alLeft
Center = True
Picture.Data = {
0954506E67496D61676589504E470D0A1A0A0000000D49484452000000260000
002608030000009FE3199C0000000467414D410000B18F0BFC61050000003650
4C544500000077828C77828C77828C77828C77828C77828C77828C77828C7782
8C77828C77828C77828C77828C77828C77828C77828C000000DC443D35000000
1074524E53004080A0C0F03090E010D050602070B016A2AB0E00000009704859
7300000B1200000B1201D2DD7EFC00000001624B47440088051D480000014B49
44415478DA8D94D99284200C4583A2A303DAF3FF5F39DDA8206E4D141594B2E0
C16239DE40089780DFF24C9A2F1785F4A6893B602A617B5FD34504313E16BEB2
F815372C9F396A4CB42B643E540417DA69BE60BC37E144AA0FA93245F126932E
C6A9992A851F344919E8459E18529F19AE2DA7B9E5568C65006303F75612C375
16AB140B531B27FB0D7B91B57B24069C5F50A2D388911728752EA495276D36D4
8C88510EEFC5A5DCA15D2650A588BB94BF4F134C4C04EAC499BF530045D10E04
457BF9404152C39BC0DF19334861D40F315BDBF31FA6C0080982EC7C505AB9EB
4C58AC416C68F77BBD34BB1BCA576C4B9339F133161334F2089109C1F4FE3F5D
02FC9498DEC8CB8ABCFAC842427CADF79373E54CD6B7B2BC16793D078B3CF6C9
443EC0D8E76CCD21D13E55CB8B39C45ACD6E5C6AA11D17685C1D0B191744DAE0
7AE21853DD62872DFA0B4A8DCA436A73F1F90000000049454E44AE426082}
OnClick = Image1Click
ExplicitHeight = 41
end
end
object TabControl1: TTabControl
Left = 24
Top = 60
Width = 602
Height = 526
Align = alClient
MultiLine = True
TabOrder = 1
Tabs.Strings = (
'Beverages'
'Snack'
'Food'
'Spices'
'Extras'
'Dairy'
'Fruits and Vegetables'
'Search'
'All')
TabIndex = 0
TabWidth = 110
OnChange = TabControl1Change
object fp8: TScrollBox
Left = 4
Top = 42
Width = 594
Height = 480
HorzScrollBar.ButtonSize = 10
HorzScrollBar.Color = clPurple
HorzScrollBar.ParentColor = False
HorzScrollBar.Range = 594
HorzScrollBar.Smooth = True
HorzScrollBar.Visible = False
VertScrollBar.Range = 1000
Align = alClient
AutoScroll = False
BorderStyle = bsNone
Color = clGrayText
ParentColor = False
TabOrder = 8
object FlowPanel2: TFlowPanel
Left = 9
Top = 14
Width = 585
Height = 443
BevelOuter = bvNone
TabOrder = 0
end
end
object fp1: TFlowPanel
Left = 4
Top = 42
Width = 594
Height = 480
Align = alClient
Color = clMoneyGreen
ParentBackground = False
TabOrder = 1
end
object fp2: TFlowPanel
Left = 4
Top = 42
Width = 594
Height = 480
Align = alClient
Color = clMaroon
ParentBackground = False
TabOrder = 2
end
object fp3: TFlowPanel
Left = 4
Top = 42
Width = 594
Height = 480
Align = alClient
Color = clYellow
ParentBackground = False
TabOrder = 3
end
object fp4: TFlowPanel
Left = 4
Top = 42
Width = 594
Height = 480
Align = alClient
Color = clRed
ParentBackground = False
TabOrder = 4
end
object fp6: TFlowPanel
Left = 4
Top = 42
Width = 594
Height = 480
Align = alClient
Color = clLime
ParentBackground = False
TabOrder = 6
end
object fp5: TFlowPanel
Left = 4
Top = 42
Width = 594
Height = 480
Align = alClient
TabOrder = 5
end
object fp0: TFlowPanel
Left = 4
Top = 42
Width = 594
Height = 480
Align = alClient
Color = clAqua
ParentBackground = False
TabOrder = 0
end
object fp7: TScrollBox
Left = 4
Top = 42
Width = 594
Height = 480
HorzScrollBar.Range = 591
HorzScrollBar.Visible = False
VertScrollBar.ButtonSize = 10
VertScrollBar.Color = clYellow
VertScrollBar.ParentColor = False
VertScrollBar.Smooth = True
VertScrollBar.ThumbSize = 10
Align = alClient
AutoScroll = False
BorderStyle = bsNone
Color = clBackground
ParentColor = False
TabOrder = 7
object FlowPanel1: TFlowPanel
Left = 5
Top = 86
Width = 586
Height = 300
Color = clRed
ParentBackground = False
TabOrder = 0
end
object GridPanel4: TGridPanel
Left = 0
Top = 0
Width = 594
Height = 65
Align = alTop
ColumnCollection = <
item
Value = 60.428665848361820000
end
item
Value = 39.571334151638180000
end>
ControlCollection = <
item
Column = 1
Control = Button6
Row = 0
end
item
Column = 0
Control = Edit1
Row = 0
end>
RowCollection = <
item
Value = 100.000000000000000000
end>
TabOrder = 1
object Button6: TButton
AlignWithMargins = True
Left = 368
Top = 11
Width = 215
Height = 43
Margins.Left = 10
Margins.Top = 10
Margins.Right = 10
Margins.Bottom = 10
Align = alClient
Caption = 'Search'
TabOrder = 0
OnClick = Button6Click
end
object Edit1: TEdit
AlignWithMargins = True
Left = 11
Top = 11
Width = 337
Height = 43
Margins.Left = 10
Margins.Top = 10
Margins.Right = 10
Margins.Bottom = 10
Align = alClient
Font.Charset = DEFAULT_CHARSET
Font.Color = clRed
Font.Height = -27
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 1
TextHint = 'Enter Search'
ExplicitHeight = 41
end
end
end
end
object GridPanel2: TGridPanel
Left = 626
Top = 60
Width = 118
Height = 526
Align = alClient
ColumnCollection = <
item
Value = 100.000000000000000000
end>
ControlCollection = <
item
Column = 0
Control = Button4
Row = 0
end
item
Column = 0
Control = Button1
Row = 1
end
item
Column = 0
Control = Button3
Row = 2
end
item
Column = 0
Control = BitBtn1
Row = 3
end>
RowCollection = <
item
Value = 25.000000000000000000
end
item
Value = 25.000000000000000000
end
item
Value = 25.000000000000000000
end
item
Value = 25.000000000000000000
end>
TabOrder = 2
object Button4: TButton
AlignWithMargins = True
Left = 4
Top = 4
Width = 110
Height = 125
Hint = 'Increase Quantity'
Align = alClient
Caption = '+'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -35
Font.Name = 'Elephant'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 0
OnClick = Button4Click
end
object Button1: TButton
AlignWithMargins = True
Left = 4
Top = 135
Width = 110
Height = 125
Hint = 'Decrease Quantity'
Align = alClient
Caption = '--'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -35
Font.Name = 'Elephant'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 1
OnClick = Button1Click
end
object Button3: TButton
AlignWithMargins = True
Left = 4
Top = 266
Width = 110
Height = 125
Hint = 'Remove Item'
Align = alClient
Caption = 'X'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -35
Font.Name = 'Elephant'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 2
OnClick = Button3Click
end
object BitBtn1: TBitBtn
AlignWithMargins = True
Left = 4
Top = 397
Width = 110
Height = 125
Align = alClient
Caption = 'RESET'
DoubleBuffered = True
Kind = bkRetry
ParentDoubleBuffered = False
TabOrder = 3
OnClick = BitBtn1Click
end
end
object GridPanel3: TGridPanel
Left = 744
Top = 60
Width = 413
Height = 526
Align = alClient
ColumnCollection = <
item
Value = 50.000000000000000000
end
item
Value = 50.000000000000000000
end>
ControlCollection = <
item
Column = 0
ColumnSpan = 2
Control = Panel2
Row = 0
end
item
Column = 0
ColumnSpan = 2
Control = StringGrid1
Row = 1
end
item
Column = 0
Control = Button2
Row = 2
end
item
Column = 1
Control = Button5
Row = 2
end>
RowCollection = <
item
Value = 10.000000000000000000
end
item
Value = 80.000000000000000000
end
item
Value = 10.000000000000000000
end>
TabOrder = 3
object Panel2: TPanel
Left = 1
Top = 1
Width = 411
Height = 52
Align = alClient
Caption = 'RECEIPT'
TabOrder = 0
end
object StringGrid1: TStringGrid
Left = 1
Top = 53
Width = 411
Height = 419
Align = alClient
ColCount = 4
DefaultColWidth = 118
DrawingStyle = gdsGradient
FixedCols = 0
RowCount = 2
GradientEndColor = clNone
GradientStartColor = clNone
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goRowSelect]
TabOrder = 1
OnDragDrop = StringGrid1DragDrop
OnDragOver = StringGrid1DragOver
end
object Button2: TButton
AlignWithMargins = True
Left = 4
Top = 475
Width = 199
Height = 47
Align = alClient
Caption = 'Accept'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -35
Font.Name = 'Elephant'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 2
OnClick = Button2Click
end
object Button5: TButton
AlignWithMargins = True
Left = 209
Top = 475
Width = 200
Height = 47
Align = alClient
Caption = 'Cancel'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -35
Font.Name = 'Elephant'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 3
OnClick = Button5Click
end
end
object Label4: TLabel
Left = 883
Top = 586
Width = 134
Height = 13
Anchors = []
Caption = 'Developed by GinTEC -2018'
ExplicitLeft = 1
ExplicitTop = 316
end
end
object ADOQuery1: TADOQuery
Connection = DataModule1.dbProvider
Parameters = <>
Left = 704
Top = 72
end
object DataSource1: TDataSource
DataSet = ADOQuery1
Left = 536
Top = 528
end
end