-
Notifications
You must be signed in to change notification settings - Fork 0
/
Unit1.~dfm
463 lines (463 loc) · 13.4 KB
/
Unit1.~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
object Form1: TForm1
Left = 219
Top = 155
Width = 922
Height = 442
Caption = 'Informacioni sistem agencije za prodaju avio karata'
Color = clActiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
Menu = MainMenu1
OldCreateOrder = False
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 40
Top = 40
Width = 64
Height = 25
Caption = 'Putnici:'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -20
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 480
Top = 40
Width = 123
Height = 25
Caption = 'Karte Putnika:'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -20
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label3: TLabel
Left = 104
Top = 40
Width = 12
Height = 13
Caption = '88'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -12
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object SpeedButton1: TSpeedButton
Left = 408
Top = 40
Width = 23
Height = 22
Glyph.Data = {
76010000424D7601000000000000760000002800000020000000100000000100
04000000000000010000120B0000120B00001000000000000000000000000000
800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333000000000
3333333777777777F3333330F777777033333337F3F3F3F7F3333330F0808070
33333337F7F7F7F7F3333330F080707033333337F7F7F7F7F3333330F0808070
33333337F7F7F7F7F3333330F080707033333337F7F7F7F7F3333330F0808070
333333F7F7F7F7F7F3F33030F080707030333737F7F7F7F7F7333300F0808070
03333377F7F7F7F773333330F080707033333337F7F7F7F7F333333070707070
33333337F7F7F7F7FF3333000000000003333377777777777F33330F88877777
0333337FFFFFFFFF7F3333000000000003333377777777777333333330777033
3333333337FFF7F3333333333000003333333333377777333333}
NumGlyphs = 2
OnClick = SpeedButton1Click
end
object SpeedButton2: TSpeedButton
Left = 848
Top = 40
Width = 23
Height = 22
Glyph.Data = {
76010000424D7601000000000000760000002800000020000000100000000100
04000000000000010000120B0000120B00001000000000000000000000000000
800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333000000000
3333333777777777F3333330F777777033333337F3F3F3F7F3333330F0808070
33333337F7F7F7F7F3333330F080707033333337F7F7F7F7F3333330F0808070
33333337F7F7F7F7F3333330F080707033333337F7F7F7F7F3333330F0808070
333333F7F7F7F7F7F3F33030F080707030333737F7F7F7F7F7333300F0808070
03333377F7F7F7F773333330F080707033333337F7F7F7F7F333333070707070
33333337F7F7F7F7FF3333000000000003333377777777777F33330F88877777
0333337FFFFFFFFF7F3333000000000003333377777777777333333330777033
3333333337FFF7F3333333333000003333333333377777333333}
NumGlyphs = 2
OnClick = SpeedButton2Click
end
object DBGrid1: TDBGrid
Left = 32
Top = 72
Width = 401
Height = 257
DataSource = DataSource1
PopupMenu = PopupMenuPutnik
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = 'IDPutnik'
Title.Caption = 'ID'
Width = 30
Visible = True
end
item
Expanded = False
FieldName = 'Ime'
Width = 150
Visible = True
end
item
Expanded = False
FieldName = 'BrTelefona'
Title.Caption = 'Broj Telefona'
Width = 90
Visible = True
end
item
Expanded = False
FieldName = 'BrPasoša'
Title.Caption = 'Broj Pasoša'
Width = 90
Visible = True
end>
end
object DBGrid2: TDBGrid
Left = 472
Top = 72
Width = 401
Height = 257
DataSource = DataSource2
PopupMenu = PopupMenuKarta
TabOrder = 1
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = 'IDKarta'
Title.Caption = 'ID'
Width = 30
Visible = True
end
item
Expanded = False
FieldName = 'IDLet'
Width = 35
Visible = True
end
item
Expanded = False
FieldName = 'IDPutnik'
Width = 50
Visible = True
end
item
Expanded = False
FieldName = 'TipKarte'
Width = 100
Visible = True
end
item
Expanded = False
FieldName = 'BrKarte'
Width = 100
Visible = True
end
item
Expanded = False
FieldName = 'Sedište'
Width = 65
Visible = True
end>
end
object BitBtn1: TBitBtn
Left = 176
Top = 40
Width = 105
Height = 25
Action = newPutnik
Caption = 'Dodaj Putnika'
TabOrder = 2
Glyph.Data = {
76010000424D7601000000000000760000002800000020000000100000000100
04000000000000010000130B0000130B00001000000000000000000000000000
800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0033333333B333
333B33FF33337F3333F73BB3777BB7777BB3377FFFF77FFFF77333B000000000
0B3333777777777777333330FFFFFFFF07333337F33333337F333330FFFFFFFF
07333337F33333337F333330FFFFFFFF07333337F33333337F333330FFFFFFFF
07333FF7F33333337FFFBBB0FFFFFFFF0BB37777F3333333777F3BB0FFFFFFFF
0BBB3777F3333FFF77773330FFFF000003333337F333777773333330FFFF0FF0
33333337F3337F37F3333330FFFF0F0B33333337F3337F77FF333330FFFF003B
B3333337FFFF77377FF333B000000333BB33337777777F3377FF3BB3333BB333
3BB33773333773333773B333333B3333333B7333333733333337}
NumGlyphs = 2
end
object BitBtn2: TBitBtn
Left = 296
Top = 40
Width = 105
Height = 25
Action = viewPutnik
Caption = 'Otvori Putnika'
TabOrder = 3
Glyph.Data = {
76010000424D7601000000000000760000002800000020000000100000000100
04000000000000010000130B0000130B00001000000000000000000000000000
800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0033333333B333
333B33FF33337F3333F73BB3777BB7777BB3377FFFF77FFFF77333B000000000
0B3333777777777777333330FFFFFFFF07333337F33333337F333330FFFFFFFF
07333337F3FF3FFF7F333330F00F000F07333337F77377737F333330FFFFFFFF
07333FF7F3FFFF3F7FFFBBB0F0000F0F0BB37777F7777373777F3BB0FFFFFFFF
0BBB3777F3FF3FFF77773330F00F000003333337F773777773333330FFFF0FF0
33333337F3FF7F37F3333330F08F0F0B33333337F7737F77FF333330FFFF003B
B3333337FFFF77377FF333B000000333BB33337777777F3377FF3BB3333BB333
3BB33773333773333773B333333B3333333B7333333733333337}
NumGlyphs = 2
end
object BitBtn3: TBitBtn
Left = 616
Top = 40
Width = 105
Height = 25
Action = newKarta
Caption = 'Dodaj Kartu'
TabOrder = 4
Glyph.Data = {
76010000424D7601000000000000760000002800000020000000100000000100
04000000000000010000130B0000130B00001000000000000000000000000000
800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0033333333B333
333B33FF33337F3333F73BB3777BB7777BB3377FFFF77FFFF77333B000000000
0B3333777777777777333330FFFFFFFF07333337F33333337F333330FFFFFFFF
07333337F33333337F333330FFFFFFFF07333337F33333337F333330FFFFFFFF
07333FF7F33333337FFFBBB0FFFFFFFF0BB37777F3333333777F3BB0FFFFFFFF
0BBB3777F3333FFF77773330FFFF000003333337F333777773333330FFFF0FF0
33333337F3337F37F3333330FFFF0F0B33333337F3337F77FF333330FFFF003B
B3333337FFFF77377FF333B000000333BB33337777777F3377FF3BB3333BB333
3BB33773333773333773B333333B3333333B7333333733333337}
NumGlyphs = 2
end
object DBNavigator1: TDBNavigator
Left = 104
Top = 336
Width = 240
Height = 25
DataSource = DataSource1
TabOrder = 5
end
object DBNavigator2: TDBNavigator
Left = 544
Top = 336
Width = 240
Height = 25
DataSource = DataSource2
TabOrder = 6
end
object BitBtn4: TBitBtn
Left = 736
Top = 40
Width = 105
Height = 25
Action = viewKarta
Caption = 'Otvori Kartu'
TabOrder = 7
Glyph.Data = {
76010000424D7601000000000000760000002800000020000000100000000100
04000000000000010000130B0000130B00001000000000000000000000000000
800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0033333333B333
333B33FF33337F3333F73BB3777BB7777BB3377FFFF77FFFF77333B000000000
0B3333777777777777333330FFFFFFFF07333337F33333337F333330FFFFFFFF
07333337F3FF3FFF7F333330F00F000F07333337F77377737F333330FFFFFFFF
07333FF7F3FFFF3F7FFFBBB0F0000F0F0BB37777F7777373777F3BB0FFFFFFFF
0BBB3777F3FF3FFF77773330F00F000003333337F773777773333330FFFF0FF0
33333337F3FF7F37F3333330F08F0F0B33333337F7737F77FF333330FFFF003B
B3333337FFFF77377FF333B000000333BB33337777777F3377FF3BB3333BB333
3BB33773333773333773B333333B3333333B7333333733333337}
NumGlyphs = 2
end
object ADOConnection1: TADOConnection
Connected = True
ConnectionString =
'Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=C:\Us' +
'ers\Korisnik\Documents\Borland Projects\FP\fp2k.mdb;Mode=Share D' +
'eny None;Jet OLEDB:System database="";Jet OLEDB:Registry Path=""' +
';Jet OLEDB:Database Password="";Jet OLEDB:Engine Type=5;Jet OLED' +
'B:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Je' +
't OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Passwo' +
'rd="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt D' +
'atabase=False;Jet OLEDB:Don'#39't Copy Locale on Compact=False;Jet O' +
'LEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False;'
LoginPrompt = False
Mode = cmShareDenyNone
Provider = 'Microsoft.Jet.OLEDB.4.0'
Left = 8
Top = 8
end
object tblPutnik: TADOTable
Active = True
Connection = ADOConnection1
CursorType = ctStatic
TableName = 'Putnik'
Left = 32
Top = 72
end
object DataSource1: TDataSource
DataSet = tblPutnik
Left = 64
Top = 72
end
object tblKarta: TADOTable
Active = True
Connection = ADOConnection1
CursorType = ctStatic
IndexFieldNames = 'IDPutnik'
MasterFields = 'IDPutnik'
MasterSource = DataSource1
TableName = 'Karta'
Left = 472
Top = 72
end
object DataSource2: TDataSource
DataSet = tblKarta
Left = 504
Top = 72
end
object Timer1: TTimer
Interval = 500
OnTimer = Timer1Timer
Left = 440
Top = 112
end
object ActionList1: TActionList
Left = 872
Top = 8
object newPutnik: TAction
Caption = 'Dodaj Putnika'
OnExecute = newPutnikExecute
end
object viewPutnik: TAction
Caption = 'Otvori Putnika'
OnExecute = viewPutnikExecute
end
object deletePutnik: TAction
Caption = 'Izbriši Putnika'
OnExecute = deletePutnikExecute
end
object newKarta: TAction
Caption = 'Dodaj Kartu'
OnExecute = newKartaExecute
end
object viewKarta: TAction
Caption = 'Otvori Kartu'
OnExecute = viewKartaExecute
end
object deleteKarta: TAction
Caption = 'Izbriši Kartu'
OnExecute = deleteKartaExecute
end
end
object MainMenu1: TMainMenu
Left = 840
Top = 8
object Putnik1: TMenuItem
Caption = '&Putnik'
object dodaj1: TMenuItem
Action = newPutnik
end
object otvori1: TMenuItem
Action = viewPutnik
end
object N1: TMenuItem
Caption = '-'
end
object izbrii1: TMenuItem
Action = deletePutnik
end
end
object Karta1: TMenuItem
Caption = '&Karta'
object N11: TMenuItem
Action = newKarta
end
object N21: TMenuItem
Action = viewKarta
end
object N2: TMenuItem
Caption = '-'
end
object d1: TMenuItem
Action = deleteKarta
end
end
object Ostalo1: TMenuItem
Caption = '&Ostalo'
object OProgramu1: TMenuItem
Caption = 'O Programu'
OnClick = OProgramu1Click
end
object OProgrameru1: TMenuItem
Caption = 'O Programeru'
OnClick = OProgrameru1Click
end
object ZaKOmisiju1: TMenuItem
Caption = 'Za Komisiju'
OnClick = ZaKOmisiju1Click
end
end
end
object PopupMenuPutnik: TPopupMenu
Left = 776
Top = 8
object Unesi1: TMenuItem
Action = newPutnik
end
object Otvori2: TMenuItem
Action = viewPutnik
end
object N3: TMenuItem
Caption = '-'
end
object deletexd1: TMenuItem
Action = deletePutnik
end
end
object PopupMenuKarta: TPopupMenu
Left = 808
Top = 8
object new1: TMenuItem
Action = newKarta
end
object open1: TMenuItem
Action = viewKarta
end
object N4: TMenuItem
Caption = '-'
end
object delete1: TMenuItem
Action = deleteKarta
end
end
end