-
Notifications
You must be signed in to change notification settings - Fork 1
/
Unit20.dfm
440 lines (440 loc) · 10.9 KB
/
Unit20.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
object Form20: TForm20
Left = 0
Top = 0
Caption = 'MANAGE STOCK'
ClientHeight = 605
ClientWidth = 1076
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 = 1076
Height = 605
Align = alClient
Color = clHighlight
ColumnCollection = <
item
Value = 25.000000000000000000
end
item
Value = 60.000000000000000000
end
item
Value = 15.000000000000000000
end>
ControlCollection = <
item
Column = 0
ColumnSpan = 3
Control = Panel1
Row = 0
end
item
Column = 0
Control = GroupBox1
Row = 1
end
item
Column = 1
Control = DBGrid1
Row = 1
end
item
Column = 2
Control = Panel2
Row = 1
end
item
Column = 1
Control = Panel3
Row = 2
end
item
Column = 2
Control = Label4
Row = 2
end>
ParentBackground = False
RowCollection = <
item
Value = 10.000000000000000000
end
item
Value = 80.000000000000000000
end
item
Value = 10.000000000000000000
end>
TabOrder = 0
DesignSize = (
1076
605)
object Panel1: TPanel
Left = 1
Top = 1
Width = 1074
Height = 60
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 Image2: TImage
Left = 0
Top = 0
Width = 57
Height = 60
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 = Image2Click
end
end
object GroupBox1: TGroupBox
Left = 9
Top = 158
Width = 252
Height = 288
Anchors = []
Color = clMedGray
ParentBackground = False
ParentColor = False
TabOrder = 1
object Label1: TLabel
Left = 88
Top = 86
Width = 47
Height = 42
Caption = 'OR'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -32
Font.Name = 'Tempus Sans ITC'
Font.Style = [fsBold, fsItalic]
ParentFont = False
end
object Edit1: TEdit
Left = 48
Top = 153
Width = 145
Height = 27
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Puppy'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
TextHint = 'Enter Search Value'
end
object BitBtn2: TBitBtn
Left = 164
Top = 202
Width = 69
Height = 49
Caption = 'SEARCH'
DoubleBuffered = True
Kind = bkOK
ParentDoubleBuffered = False
TabOrder = 1
OnClick = BitBtn2Click
end
object BitBtn1: TBitBtn
Left = 12
Top = 202
Width = 70
Height = 49
Caption = 'RESET'
DoubleBuffered = True
Kind = bkRetry
ParentDoubleBuffered = False
TabOrder = 2
OnClick = BitBtn1Click
end
object ComboBox2: TComboBox
Left = 48
Top = 127
Width = 145
Height = 21
Style = csDropDownList
TabOrder = 3
TextHint = 'SEARCH FIELD'
end
object ComboBox1: TComboBox
Left = 48
Top = 40
Width = 145
Height = 21
Style = csDropDownList
TabOrder = 4
TextHint = 'ORDER BY FIELD'
end
object ComboBox3: TComboBox
Left = 48
Top = 67
Width = 145
Height = 21
Style = csDropDownList
TabOrder = 5
TextHint = 'ORDER'
Items.Strings = (
'ASC'
'DESC')
end
object BitBtn4: TBitBtn
Left = 88
Top = 202
Width = 70
Height = 49
Caption = 'SORT'
DoubleBuffered = True
Kind = bkYes
ParentDoubleBuffered = False
TabOrder = 6
OnClick = BitBtn4Click
end
end
object DBGrid1: TDBGrid
Left = 269
Top = 61
Width = 644
Height = 482
Align = alClient
DataSource = DataSource1
TabOrder = 2
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'Tahoma'
TitleFont.Style = []
end
object Panel2: TPanel
Left = 913
Top = 61
Width = 162
Height = 482
Align = alClient
BevelOuter = bvNone
TabOrder = 3
object GridPanel3: TGridPanel
Left = 0
Top = 0
Width = 162
Height = 482
Align = alClient
BevelOuter = bvNone
ColumnCollection = <
item
Value = 100.000000000000000000
end>
ControlCollection = <
item
Column = 0
Control = Button1
Row = 0
end
item
Column = 0
Control = Button2
Row = 1
end
item
Column = 0
Control = Button3
Row = 2
end
item
Column = 0
Control = Button4
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 = 0
object Button1: TButton
AlignWithMargins = True
Left = 3
Top = 3
Width = 156
Height = 114
Align = alClient
Caption = 'DELETE STOCK'
TabOrder = 0
OnClick = Button1Click
end
object Button2: TButton
AlignWithMargins = True
Left = 3
Top = 123
Width = 156
Height = 114
Align = alClient
Caption = 'EDIT STOCK'
TabOrder = 1
OnClick = Button2Click
end
object Button3: TButton
AlignWithMargins = True
Left = 3
Top = 243
Width = 156
Height = 114
Align = alClient
Caption = 'PLACE ORDER FOR STOCK'
TabOrder = 2
OnClick = Button3Click
end
object Button4: TButton
AlignWithMargins = True
Left = 3
Top = 363
Width = 156
Height = 116
Align = alClient
Caption = 'VIEW ORDERS MADE FOR PRODUCT'
TabOrder = 3
WordWrap = True
OnClick = Button4Click
end
end
end
object Panel3: TPanel
Left = 269
Top = 543
Width = 644
Height = 61
Align = alClient
BevelOuter = bvNone
TabOrder = 4
object GridPanel2: TGridPanel
Left = 0
Top = 0
Width = 644
Height = 61
Align = alClient
BevelOuter = bvNone
ColumnCollection = <
item
Value = 45.000000000000000000
end
item
Value = 10.000000000000000000
end
item
Value = 45.000000000000000000
end>
ControlCollection = <
item
Column = 0
Control = BitBtn3
Row = 0
end
item
Column = 2
Control = Button5
Row = 0
end>
RowCollection = <
item
Value = 100.000000000000000000
end>
TabOrder = 0
object BitBtn3: TBitBtn
AlignWithMargins = True
Left = 3
Top = 3
Width = 283
Height = 55
Align = alClient
Caption = 'REFRESH'
DoubleBuffered = True
Kind = bkRetry
ParentDoubleBuffered = False
TabOrder = 0
OnClick = BitBtn3Click
end
object Button5: TButton
AlignWithMargins = True
Left = 356
Top = 3
Width = 285
Height = 55
Align = alClient
Caption = 'CREATE NEW STOCK'
TabOrder = 1
OnClick = Button5Click
end
end
end
object Label4: TLabel
Left = 927
Top = 567
Width = 134
Height = 13
Anchors = []
Caption = 'Developed by GinTEC -2018'
ExplicitLeft = 68
end
end
object ADOTable1: TADOTable
Connection = DataModule1.dbProvider
Left = 40
Top = 88
end
object DataSource1: TDataSource
DataSet = ADOTable1
Left = 80
Top = 88
end
object ADOTable2: TADOTable
Connection = DataModule1.dbProvider
Left = 120
Top = 88
end
end