-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathUnosVrste.dfm
535 lines (535 loc) · 14 KB
/
UnosVrste.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
inherited FUnosVrste: TFUnosVrste
Left = 203
Top = 115
Caption = 'Šifrarnik vrsta'
PixelsPerInch = 96
TextHeight = 13
inherited Pregled: TPageControl
inherited Tpregled: TTabSheet
inherited TBar: TToolBar
inherited DBNavigator3: TDBNavigator
Hints.Strings = ()
end
end
inherited PanelGrid: TPanel
inherited DBGrid11: TdxDBGrid
Filter.Criteria = {00000000}
end
end
end
inherited Tunos: TTabSheet
inherited Panel1: TPanel
object Label4: TLabel [1]
Left = 36
Top = 68
Width = 96
Height = 13
Alignment = taRightJustify
Caption = 'Hrvatski naziv vrste:'
FocusControl = DBEdit4
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label1: TLabel [2]
Left = 39
Top = 92
Width = 93
Height = 13
Alignment = taRightJustify
Caption = 'Latinski naziv vrste:'
FocusControl = DBEdit1
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label2: TLabel [3]
Left = 35
Top = 116
Width = 97
Height = 13
Alignment = taRightJustify
Caption = 'Engleski naziv vrste:'
FocusControl = DBEdit2
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label6: TLabel [4]
Left = 77
Top = 204
Width = 55
Height = 13
Alignment = taRightJustify
Caption = 'Napomena:'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label7: TLabel [5]
Left = 52
Top = 396
Width = 80
Height = 13
Alignment = taRightJustify
Caption = 'Datum promjene:'
FocusControl = DBEdit6
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label3: TLabel [6]
Left = 67
Top = 308
Width = 65
Height = 13
Alignment = taRightJustify
Caption = 'VCU troškovi:'
FocusControl = DBEdit3
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label5: TLabel [7]
Left = 66
Top = 332
Width = 66
Height = 13
Alignment = taRightJustify
Caption = 'DUS troškovi:'
FocusControl = DBEdit5
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label8: TLabel [8]
Left = 144
Top = 284
Width = 44
Height = 13
Alignment = taRightJustify
Caption = '1. godina'
FocusControl = DBEdit3
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label9: TLabel [9]
Left = 216
Top = 284
Width = 44
Height = 13
Alignment = taRightJustify
Caption = '2. godina'
FocusControl = DBEdit7
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label10: TLabel [10]
Left = 288
Top = 284
Width = 44
Height = 13
Alignment = taRightJustify
Caption = '3. godina'
FocusControl = DBEdit9
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label11: TLabel [11]
Left = 33
Top = 356
Width = 99
Height = 13
Alignment = taRightJustify
Caption = 'Cijena DUS izvješæa:'
FocusControl = DBEdit10
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label12: TLabel [12]
Left = 88
Top = 148
Width = 44
Height = 13
Alignment = taRightJustify
Caption = 'Tip vrste:'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label13: TLabel [13]
Left = 103
Top = 172
Width = 29
Height = 13
Alignment = taRightJustify
Caption = 'Klasa:'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object DBEdit4: TDBEdit
Tag = 128
Left = 136
Top = 64
Width = 273
Height = 21
DataField = 'Vrsta_hrv'
DataSource = dsTable
TabOrder = 1
OnKeyDown = Kdown
end
object DBEdit1: TDBEdit
Tag = 128
Left = 136
Top = 88
Width = 273
Height = 21
DataField = 'Vrsta_lat'
DataSource = dsTable
TabOrder = 2
OnKeyDown = Kdown
end
object DBEdit2: TDBEdit
Tag = 128
Left = 136
Top = 112
Width = 273
Height = 21
DataField = 'Vrsta_eng'
DataSource = dsTable
TabOrder = 3
OnKeyDown = Kdown
end
object DBMemo1: TDBMemo
Left = 136
Top = 200
Width = 273
Height = 65
DataField = 'Napomena'
DataSource = dsTable
TabOrder = 6
OnKeyDown = Kdown
end
object DBEdit6: TDBEdit
Tag = 128
Left = 136
Top = 392
Width = 113
Height = 21
DataField = 'Datum_promjene'
DataSource = dsTable
Enabled = False
TabOrder = 12
OnKeyDown = Kdown
end
object DBEdit3: TDBEdit
Tag = 128
Left = 136
Top = 304
Width = 65
Height = 21
DataField = 'VCU1_cijena'
DataSource = dsTable
TabOrder = 7
OnKeyDown = Kdown
end
object DBEdit5: TDBEdit
Tag = 128
Left = 136
Top = 328
Width = 65
Height = 21
DataField = 'DUS1_cijena'
DataSource = dsTable
TabOrder = 10
OnKeyDown = Kdown
end
object DBEdit7: TDBEdit
Tag = 128
Left = 208
Top = 304
Width = 65
Height = 21
DataField = 'VCU2_cijena'
DataSource = dsTable
TabOrder = 8
OnKeyDown = Kdown
end
object DBEdit8: TDBEdit
Tag = 128
Left = 208
Top = 328
Width = 65
Height = 21
DataField = 'DUS2_cijena'
DataSource = dsTable
TabOrder = 11
OnKeyDown = Kdown
end
object DBEdit9: TDBEdit
Tag = 128
Left = 280
Top = 304
Width = 65
Height = 21
DataField = 'VCU3_cijena'
DataSource = dsTable
TabOrder = 9
OnKeyDown = Kdown
end
object DBEdit10: TDBEdit
Tag = 128
Left = 136
Top = 352
Width = 65
Height = 21
DataField = 'DIzv_cijena'
DataSource = dsTable
TabOrder = 13
OnKeyDown = Kdown
end
object wwDBLookupCombo1: TwwDBLookupCombo
Left = 136
Top = 144
Width = 201
Height = 19
BorderStyle = bsNone
DropDownAlignment = taLeftJustify
Selected.Strings = (
'Sifra_tipa_sorte'#9'10'#9'Sifra_tipa_sorte'#9'F'#9
'Naziv_tipa_sorte'#9'50'#9'Naziv_tipa_sorte'#9'F'#9)
DataField = 'look_TipVrste'
DataSource = dsTable
LookupTable = tTipSorte
LookupField = 'Sifra_tipa_sorte'
Options = [loColLines]
Frame.Enabled = True
Frame.NonFocusStyle = efsFrameRaised
TabOrder = 4
AutoDropDown = False
ShowButton = True
AllowClearKey = False
ShowMatchText = True
end
object wwDBLookupCombo2: TwwDBLookupCombo
Left = 136
Top = 168
Width = 201
Height = 19
BorderStyle = bsNone
DropDownAlignment = taLeftJustify
Selected.Strings = (
'NazivKlase'#9'20'#9'Naziv Klase'#9'F'#9)
DataField = 'lookKlasa'
DataSource = dsTable
LookupTable = tKlase
LookupField = 'Sifra'
Options = [loColLines]
Frame.Enabled = True
Frame.NonFocusStyle = efsFrameRaised
TabOrder = 5
AutoDropDown = False
ShowButton = True
AllowClearKey = False
ShowMatchText = True
end
end
end
end
inherited dsTable: TDataSource
DataSet = Vrsta
end
object Vrsta: TTable
Active = True
BeforeOpen = aBeforeOpen
BeforeInsert = aBeforeInsert
AfterInsert = TsAfterInsert
BeforeEdit = aBeforeEdit
AfterEdit = TsAfterEdit
AfterPost = aAfterPost
AfterCancel = aAfterCancel
BeforeDelete = aBeforeDelete
DatabaseName = 'kulture'
IndexFieldNames = 'Sifra_vrste'
TableName = 'Vrsta'
Left = 436
Top = 305
object VrstaSifra_vrste: TAutoIncField
DisplayLabel = 'Šifra vrste'
FieldName = 'Sifra_vrste'
ReadOnly = True
end
object VrstaKlasa: TSmallintField
DisplayLabel = 'Šifra klase'
FieldName = 'Klasa'
end
object VrstaVrsta_hrv: TStringField
DisplayLabel = 'Hrvatski naziv'
FieldName = 'Vrsta_hrv'
Size = 30
end
object VrstaVrsta_lat: TStringField
DisplayLabel = 'Latinski naziv'
FieldName = 'Vrsta_lat'
Size = 50
end
object VrstaVrsta_eng: TStringField
DisplayLabel = 'Engleski naziv'
FieldName = 'Vrsta_eng'
Size = 30
end
object VrstaNapomena: TMemoField
FieldName = 'Napomena'
Visible = False
BlobType = ftMemo
Size = 50
end
object VrstaTip_vrste: TSmallintField
FieldName = 'Tip_vrste'
Visible = False
end
object VrstaVCU1_cijena: TCurrencyField
FieldName = 'VCU1_cijena'
Visible = False
end
object VrstaVCU2_cijena: TCurrencyField
FieldName = 'VCU2_cijena'
Visible = False
end
object VrstaVCU3_cijena: TCurrencyField
FieldName = 'VCU3_cijena'
Visible = False
end
object VrstaDUS1_cijena: TCurrencyField
FieldName = 'DUS1_cijena'
Visible = False
end
object VrstaDUS2_cijena: TCurrencyField
FieldName = 'DUS2_cijena'
Visible = False
end
object VrstaDIzv_cijena: TCurrencyField
DisplayLabel = 'DIzv cijena'
FieldName = 'DIzv_cijena'
end
object VrstaDatum_promjene: TDateTimeField
DisplayLabel = 'Datum promjene'
FieldName = 'Datum_promjene'
Visible = False
end
object Vrstalook_TipVrste: TStringField
FieldKind = fkLookup
FieldName = 'look_TipVrste'
LookupDataSet = tTipSorte
LookupKeyFields = 'Sifra_tipa_sorte'
LookupResultField = 'Naziv_tipa_sorte'
KeyFields = 'Tip_vrste'
Visible = False
Size = 30
Lookup = True
end
object VrstalookKlasa: TStringField
FieldKind = fkLookup
FieldName = 'lookKlasa'
LookupDataSet = tKlase
LookupKeyFields = 'Sifra'
LookupResultField = 'NazivKlase'
KeyFields = 'Klasa'
Visible = False
Lookup = True
end
end
object tTipSorte: TTable
Active = True
DatabaseName = 'kulture'
Constraints = <
item
FromDictionary = False
end>
IndexFieldNames = 'Sifra_tipa_sorte'
TableName = 'Tip_sorte'
Left = 348
Top = 169
object tTipSorteSifra_tipa_sorte: TSmallintField
Alignment = taLeftJustify
FieldName = 'Sifra_tipa_sorte'
Required = True
end
object tTipSorteNaziv_tipa_sorte: TStringField
FieldName = 'Naziv_tipa_sorte'
Size = 50
end
end
object dsTipSorte: TDataSource
DataSet = tTipSorte
Left = 380
Top = 169
end
object tKlase: TTable
Active = True
DatabaseName = 'kulture'
IndexFieldNames = 'Sifra'
TableName = 'Klase'
Left = 348
Top = 201
object tKlaseNazivKlase: TStringField
DisplayLabel = 'Naziv Klase'
DisplayWidth = 20
FieldName = 'NazivKlase'
end
object tKlaseSifra: TAutoIncField
DisplayLabel = 'Šifra'
FieldName = 'Sifra'
ReadOnly = True
Visible = False
end
end
object DataSource1: TDataSource
Left = 380
Top = 201
end
end