-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUOchAddOsobeWidzenie.frm
375 lines (375 loc) · 7.71 KB
/
UOchAddOsobeWidzenie.frm
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
object OchAddOsobeWidzenie: TOchAddOsobeWidzenie
Left = 332
Height = 371
Top = 263
Width = 622
Caption = 'Osoba uprawniona do widzeń'
ClientHeight = 371
ClientWidth = 622
KeyPreview = True
Position = poScreenCenter
LCLVersion = '6.6'
object Label6: TLabel
AnchorSideTop.Side = asrCenter
Left = 96
Height = 15
Top = 188
Width = 116
Anchors = []
Caption = 'Data decyzji dyrektora'
ParentColor = False
end
object DBEdit1: TDBEdit
Left = 96
Height = 23
Top = 24
Width = 516
DataField = 'Nazwisko'
DataSource = DSUprawnione
Anchors = [akTop, akLeft, akRight]
CharCase = ecUppercase
MaxLength = 45
TabOrder = 0
end
object Label1: TLabel
AnchorSideLeft.Control = DBEdit1
AnchorSideTop.Control = DBEdit1
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = DBEdit1
Left = 36
Height = 15
Top = 28
Width = 50
Anchors = [akTop, akRight]
BorderSpacing.Right = 10
Caption = 'Nazwisko'
ParentColor = False
end
object DBEdit2: TDBEdit
Left = 96
Height = 23
Top = 56
Width = 516
DataField = 'Imie'
DataSource = DSUprawnione
Anchors = [akTop, akLeft, akRight]
CharCase = ecUppercase
MaxLength = 45
TabOrder = 1
end
object Label2: TLabel
AnchorSideTop.Control = DBEdit2
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = DBEdit2
Left = 63
Height = 15
Top = 60
Width = 23
Anchors = [akTop, akRight]
BorderSpacing.Right = 10
Caption = 'Imię'
ParentColor = False
end
object DBEdit3: TDBEdit
Left = 96
Height = 23
Top = 86
Width = 516
DataField = 'Adres'
DataSource = DSUprawnione
Anchors = [akTop, akLeft, akRight]
CharCase = ecUppercase
MaxLength = 100
TabOrder = 2
end
object Label3: TLabel
AnchorSideTop.Side = asrCenter
Left = 6
Height = 15
Top = 121
Width = 80
Anchors = [akTop, akRight]
BorderSpacing.Right = 10
Caption = 'Pokrewieństwo'
ParentColor = False
end
object Label4: TLabel
AnchorSideTop.Control = DBEdit3
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = DBEdit3
Left = 56
Height = 15
Top = 90
Width = 30
Anchors = [akTop, akRight]
BorderSpacing.Right = 10
Caption = 'Adres'
ParentColor = False
end
object DBEdit5: TDBEdit
Left = 96
Height = 23
Top = 148
Width = 516
DataField = 'Uwagi'
DataSource = DSUprawnione
Anchors = [akTop, akLeft, akRight]
CharCase = ecUppercase
MaxLength = 100
TabOrder = 4
end
object Label5: TLabel
AnchorSideTop.Control = DBEdit5
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = DBEdit5
Left = 53
Height = 15
Top = 152
Width = 33
Anchors = [akTop, akRight]
BorderSpacing.Right = 10
Caption = 'Uwagi'
ParentColor = False
end
object DBDateTimePicker1: TDBDateTimePicker
AnchorSideLeft.Control = Label6
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Label6
AnchorSideTop.Side = asrCenter
Left = 222
Height = 23
Top = 184
Width = 83
DataField = 'Data_DD'
DataSource = DSUprawnione
ReadOnly = False
CenturyFrom = 1941
MaxDate = 2958465
MinDate = -53780
TabOrder = 5
BorderSpacing.Left = 10
TrailingSeparator = False
TextForNullDate = 'NULL'
LeadingZeros = True
Kind = dtkDate
TimeFormat = tf24
TimeDisplay = tdHMS
DateMode = dmComboBox
UseDefaultSeparators = True
HideDateTimeParts = []
MonthNames = 'Long'
end
object DBCheckBox1: TDBCheckBox
Left = 504
Height = 19
Top = 188
Width = 110
Alignment = taLeftJustify
Anchors = [akTop, akRight]
AutoSize = True
Caption = 'Prawo do widzeń'
DataField = 'Skreslona'
DataSource = DSUprawnione
TabOrder = 6
ValueChecked = '0'
ValueUnchecked = '1'
end
object GroupBox1: TGroupBox
Left = 0
Height = 65
Top = 256
Width = 622
Align = alCustom
Anchors = [akTop, akLeft, akRight]
ClientHeight = 45
ClientWidth = 618
Font.Color = 7039851
ParentColor = False
ParentFont = False
TabOrder = 8
object DBText1: TDBText
Left = 88
Height = 15
Top = 0
Width = 43
DataField = 'WPISAL'
DataSource = DSUprawnione
ParentColor = False
end
object DBText2: TDBText
Left = 88
Height = 15
Top = 23
Width = 43
DataField = 'Data_W'
DataSource = DSUprawnione
ParentColor = False
end
object DBText3: TDBText
Left = 432
Height = 15
Top = 0
Width = 43
DataField = 'Skreslil'
DataSource = DSUprawnione
ParentColor = False
end
object DBText4: TDBText
Left = 432
Height = 15
Top = 23
Width = 43
DataField = 'Data_Skreslenia'
DataSource = DSUprawnione
ParentColor = False
end
object Label7: TLabel
Left = 47
Height = 15
Top = 0
Width = 34
Caption = 'Dodał:'
ParentColor = False
end
object Label8: TLabel
Left = 8
Height = 15
Top = 23
Width = 73
Caption = 'Data dodania:'
ParentColor = False
end
object Label9: TLabel
Left = 277
Height = 15
Top = 0
Width = 147
Caption = 'Odebrał prawo do widzenia:'
ParentColor = False
end
object Label10: TLabel
Left = 240
Height = 15
Top = 23
Width = 184
Caption = 'Data odebrania prawa do widzenia:'
ParentColor = False
end
end
object Panel1: TPanel
Left = 0
Height = 38
Top = 333
Width = 622
Align = alBottom
BevelOuter = bvNone
ClientHeight = 38
ClientWidth = 622
TabOrder = 9
object btnOK: TBitBtn
Left = 405
Height = 30
Top = 0
Width = 100
Anchors = [akTop, akRight]
DefaultCaption = True
Kind = bkOK
ModalResult = 1
OnClick = btnOKClick
TabOrder = 0
end
object btnAnuluj: TBitBtn
Left = 516
Height = 30
Top = 0
Width = 100
Anchors = [akTop, akRight]
Cancel = True
DefaultCaption = True
Kind = bkCancel
ModalResult = 2
OnClick = btnAnulujClick
TabOrder = 1
end
end
object DBComboBox1: TDBComboBox
Left = 96
Height = 23
Top = 117
Width = 516
AutoComplete = True
AutoCompleteText = [cbactEnabled, cbactEndOfLineComplete, cbactSearchAscending]
CharCase = ecUppercase
DataField = 'Pokrew'
DataSource = DSUprawnione
ItemHeight = 15
Items.Strings = (
'BABKA'
'BRAT'
'BRATOWA'
'CIOTKA'
'CÓRKA'
'CÓRKA - INNE'
'DZIADEK'
'INNA OSOBA'
'KOLEGA'
'KOLEŻANKA'
'KONKUBINA'
'KUZYN'
'KUZYNKA'
'MACOCHA'
'MATKA'
'MĄŻ'
'OJCIEC'
'OJCZYM'
'SIOSTRA'
'SYN'
'SYN - INNE'
'SZWAGIER'
'WNUCZKA'
'WNUK'
'WUJEK'
'ŻONA'
)
MaxLength = 45
TabOrder = 3
end
object CheckBox1: TCheckBox
Left = 96
Height = 19
Top = 224
Width = 196
Caption = 'Dodatkowe widzenie (na dziecko)'
Enabled = False
ParentBidiMode = False
TabOrder = 7
end
object ZQUprawnione: TZQuery
Connection = DM.ZConnection1
SQL.Strings = (
'SELECT '
'ID,'
'IDO,'
'Nazwisko,'
'Imie,'
'Adres,'
'Data_DD,'
'Skreslona,'
'Data_Skreslenia,'
'Data_W,'
'Pokrew,'
'WPISAL,'
'Skreslil,'
'Uwagi'
'FROM uprawnione'
)
Params = <>
Left = 384
Top = 8
end
object DSUprawnione: TDataSource
DataSet = ZQUprawnione
Left = 384
Top = 72
end
end