-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEditProduct.dfm
404 lines (404 loc) · 9.3 KB
/
EditProduct.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
object FormEditProduct: TFormEditProduct
Left = 0
Top = 0
Caption = #1060#1086#1088#1084#1072' '#1088#1077#1076#1072#1082#1090#1080#1088#1086#1074#1072#1085#1080#1103' '#1087#1088#1086#1076#1091#1082#1090#1072
ClientHeight = 551
ClientWidth = 694
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
KeyPreview = True
OldCreateOrder = False
OnCreate = FormCreate
OnKeyPress = FormKeyPress
PixelsPerInch = 96
TextHeight = 13
object DBNavigator1: TDBNavigator
Left = 0
Top = 526
Width = 694
Height = 25
DataSource = DMl.DataSourceMainView
VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast]
Align = alBottom
TabOrder = 0
ExplicitTop = 478
end
object ToolBar1: TToolBar
Left = 0
Top = 0
Width = 694
Height = 29
ButtonHeight = 21
ButtonWidth = 103
Caption = 'ToolBar1'
ShowCaptions = True
TabOrder = 1
object ToolButton1: TToolButton
Left = 0
Top = 0
Caption = #1044#1086#1073#1072#1074#1080#1090#1100' '#1087#1088#1086#1076#1091#1082#1090
ImageIndex = 0
OnClick = ToolButton1Click
end
object ToolButton2: TToolButton
Left = 103
Top = 0
Width = 8
Caption = 'ToolButton2'
ImageIndex = 1
Style = tbsSeparator
end
object ToolButton3: TToolButton
Left = 111
Top = 0
Caption = #1059#1076#1072#1083#1080#1090#1100' '#1087#1088#1086#1076#1091#1082#1090
ImageIndex = 1
OnClick = ToolButton3Click
end
end
object RigthPanel: TPanel
Left = 0
Top = 29
Width = 423
Height = 497
Align = alClient
TabOrder = 2
ExplicitHeight = 449
object GridPanel1: TGridPanel
Left = 1
Top = 1
Width = 421
Height = 495
Align = alClient
ColumnCollection = <
item
Value = 50.000000000000000000
end
item
Value = 50.000000000000000000
end>
ControlCollection = <
item
Column = 0
Control = Label1
Row = 0
end
item
Column = 0
Control = Label2
Row = 1
end
item
Column = 1
Control = DBEdit2
Row = 1
end
item
Column = 0
Control = Label3
Row = 2
end
item
Column = 1
Control = DBEdit3
Row = 2
end
item
Column = 0
Control = Label4
Row = 3
end
item
Column = 1
Control = DBEdit4
Row = 3
end
item
Column = 0
Control = Label5
Row = 4
end
item
Column = 1
Control = DBLookupComboBox1
Row = 4
end
item
Column = 1
Control = DBEdit1
Row = 0
end
item
Column = 0
Control = Label9
Row = 5
end
item
Column = 1
Control = DBEdit5
Row = 5
end>
RowCollection = <
item
Value = 16.667141661124830000
end
item
Value = 16.666952201798430000
end
item
Value = 16.666762626998770000
end
item
Value = 16.666572049172430000
end
item
Value = 16.666381090480580000
end
item
Value = 16.666190370424970000
end>
TabOrder = 0
ExplicitHeight = 447
DesignSize = (
421
495)
object Label1: TLabel
Left = 69
Top = 35
Width = 72
Height = 13
Anchors = []
Caption = #1050#1086#1076' '#1087#1088#1086#1076#1091#1082#1090#1072
ExplicitLeft = 102
ExplicitTop = 33
end
object Label2: TLabel
Left = 55
Top = 117
Width = 100
Height = 13
Anchors = []
Caption = #1053#1072#1079#1074#1072#1085#1080#1077' '#1087#1088#1086#1076#1091#1082#1090#1072
ExplicitLeft = 93
ExplicitTop = 110
end
object DBEdit2: TDBEdit
Left = 254
Top = 113
Width = 121
Height = 21
Anchors = []
DataField = #1055#1088#1086#1076#1091#1082#1090
DataSource = DMl.DataSourceMainView
TabOrder = 1
ExplicitTop = 101
end
object Label3: TLabel
Left = 71
Top = 199
Width = 68
Height = 13
Anchors = []
Caption = #1041#1072#1079#1086#1074#1072#1103' '#1094#1077#1085#1072
ExplicitLeft = 109
ExplicitTop = 187
end
object DBEdit3: TDBEdit
Left = 254
Top = 195
Width = 121
Height = 21
Anchors = []
DataField = #1041#1072#1079#1086#1074#1072#1103' '#1094#1077#1085#1072
DataSource = DMl.DataSourceMainView
TabOrder = 2
OnKeyPress = DBEdit3KeyPress
ExplicitTop = 175
end
object Label4: TLabel
Left = 69
Top = 281
Width = 72
Height = 13
Anchors = []
Caption = #1058#1077#1082#1091#1097#1072#1103' '#1094#1077#1085#1072
ExplicitLeft = 107
ExplicitTop = 264
end
object DBEdit4: TDBEdit
Left = 254
Top = 277
Width = 121
Height = 21
Anchors = []
DataField = #1058#1077#1082#1091#1097#1072#1103' '#1094#1077#1085#1072
DataSource = DMl.DataSourceMainView
TabOrder = 3
OnKeyPress = DBEdit4KeyPress
ExplicitTop = 249
end
object Label5: TLabel
Left = 78
Top = 363
Width = 54
Height = 13
Anchors = []
Caption = #1050#1072#1090#1077#1075#1086#1088#1080#1103
ExplicitLeft = 116
ExplicitTop = 343
end
object DBLookupComboBox1: TDBLookupComboBox
Left = 242
Top = 359
Width = 145
Height = 21
Anchors = []
DataField = 'CategoryID'
DataSource = DMl.DataSourceMainView
KeyField = 'ID'
ListField = 'Title'
ListSource = DataSource1
TabOrder = 4
ExplicitTop = 323
end
object DBEdit1: TDBEdit
Left = 254
Top = 31
Width = 121
Height = 21
Anchors = []
DataField = #1050#1086#1076
DataSource = DMl.DataSourceMainView
TabOrder = 0
OnKeyPress = DBEdit1KeyPress
ExplicitTop = 27
end
object Label9: TLabel
Left = 71
Top = 446
Width = 68
Height = 13
Anchors = []
Caption = #1048#1079#1086#1073#1088#1072#1078#1077#1085#1080#1077
ExplicitLeft = 74
ExplicitTop = 402
end
object DBEdit5: TDBEdit
Left = 254
Top = 442
Width = 121
Height = 21
Anchors = []
DataField = 'Image'
DataSource = DMl.DataSourceMainView
TabOrder = 5
OnDblClick = DBEdit5DblClick
ExplicitTop = 398
end
end
end
object Panel2: TPanel
Left = 423
Top = 29
Width = 271
Height = 497
Align = alRight
TabOrder = 3
ExplicitHeight = 449
object Label6: TLabel
Left = 6
Top = 10
Width = 49
Height = 13
Caption = #1054#1087#1080#1089#1072#1085#1080#1077
end
object Label7: TLabel
Left = 6
Top = 125
Width = 36
Height = 13
Caption = #1057#1086#1089#1090#1072#1074
end
object Label8: TLabel
Left = 6
Top = 241
Width = 61
Height = 13
Caption = #1055#1088#1080#1084#1077#1085#1077#1085#1080#1077
end
object Image1: TImage
Left = 6
Top = 362
Width = 203
Height = 129
Stretch = True
end
object DBRichEdit1: TDBRichEdit
Left = 6
Top = 29
Width = 233
Height = 89
DataField = #1054#1087#1080#1089#1072#1085#1080#1077
DataSource = DMl.DataSourceMainView
Font.Charset = RUSSIAN_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
TabOrder = 0
Zoom = 100
end
object DBRichEdit2: TDBRichEdit
Left = 6
Top = 144
Width = 235
Height = 89
DataField = #1057#1086#1089#1090#1072#1074
DataSource = DMl.DataSourceMainView
Font.Charset = RUSSIAN_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
TabOrder = 1
Zoom = 100
end
object DBRichEdit3: TDBRichEdit
Left = 6
Top = 260
Width = 235
Height = 96
DataField = #1055#1088#1080#1084#1077#1085#1080#1077
DataSource = DMl.DataSourceMainView
Font.Charset = RUSSIAN_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
TabOrder = 2
Zoom = 100
end
end
object OpenPictureDialog1: TOpenPictureDialog
Left = 639
Top = 69
end
object ADODataSet1: TADODataSet
Active = True
Connection = DMl.ADOConnection1
CursorType = ctStatic
CommandText = 'SELECT ID, Title'#13#10'FROM Category'
Parameters = <>
Left = 640
Top = 8
end
object DataSource1: TDataSource
DataSet = ADODataSet1
Left = 592
Top = 8
end
end