-
Notifications
You must be signed in to change notification settings - Fork 1
/
administradores.dfm
568 lines (567 loc) · 14 KB
/
administradores.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
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
object FAdministradores: TFAdministradores
Left = 0
Top = 0
BorderIcons = [biSystemMenu]
BorderStyle = bsToolWindow
Caption = 'Administrador'
ClientHeight = 612
ClientWidth = 1296
Color = clBtnFace
DragKind = dkDock
DragMode = dmAutomatic
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
Menu = mm1
OldCreateOrder = False
OnClose = FormClose
PixelsPerInch = 96
TextHeight = 13
object grp1: TGroupBox
AlignWithMargins = True
Left = 3
Top = 40
Width = 1290
Height = 129
Align = alTop
Anchors = [akTop, akRight]
Caption = 'Datos del Administrador'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
object gridpanel: TGridPanel
Left = 2
Top = 15
Width = 1286
Height = 112
Align = alClient
ColumnCollection = <
item
Value = 33.238152329142940000
end
item
Value = 29.471522017190630000
end
item
Value = 37.290325653666430000
end>
ControlCollection = <
item
Column = 0
Control = grp2
Row = 0
end
item
Column = 2
Control = grp3
Row = 0
end
item
Column = 1
Control = grp5
Row = 0
end>
RowCollection = <
item
Value = 100.000000000000000000
end
item
SizeStyle = ssAuto
end>
TabOrder = 0
object grp2: TGroupBox
AlignWithMargins = True
Left = 11
Top = 4
Width = 413
Height = 97
Margins.Left = 10
Margins.Bottom = 10
Align = alClient
Caption = 'Datos'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
object lbledt1: TLabeledEdit
AlignWithMargins = True
Left = 9
Top = 40
Width = 41
Height = 21
EditLabel.Width = 33
EditLabel.Height = 13
EditLabel.Caption = 'Codigo'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
end
object lbledt2: TLabeledEdit
AlignWithMargins = True
Left = 56
Top = 40
Width = 169
Height = 21
EditLabel.Width = 37
EditLabel.Height = 13
EditLabel.Caption = 'Nombre'
EditLabel.Font.Charset = DEFAULT_CHARSET
EditLabel.Font.Color = clWindowText
EditLabel.Font.Height = -11
EditLabel.Font.Name = 'Tahoma'
EditLabel.Font.Style = []
EditLabel.ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 1
end
object lbledt3: TLabeledEdit
AlignWithMargins = True
Left = 249
Top = 40
Width = 152
Height = 21
EditLabel.Width = 42
EditLabel.Height = 13
EditLabel.Caption = 'Apellidos'
EditLabel.Font.Charset = DEFAULT_CHARSET
EditLabel.Font.Color = clWindowText
EditLabel.Font.Height = -11
EditLabel.Font.Name = 'Tahoma'
EditLabel.Font.Style = []
EditLabel.ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 2
end
object lbledt9: TLabeledEdit
AlignWithMargins = True
Left = 56
Top = 73
Width = 345
Height = 21
EditLabel.Width = 37
EditLabel.Height = 13
EditLabel.Caption = 'Nombre'
EditLabel.Font.Charset = DEFAULT_CHARSET
EditLabel.Font.Color = clWindowText
EditLabel.Font.Height = -11
EditLabel.Font.Name = 'Tahoma'
EditLabel.Font.Style = []
EditLabel.ParentFont = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
LabelPosition = lpLeft
ParentFont = False
TabOrder = 3
end
end
object grp3: TGroupBox
AlignWithMargins = True
Left = 815
Top = 4
Width = 460
Height = 97
Margins.Left = 10
Margins.Right = 10
Margins.Bottom = 10
Align = alClient
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 1
object lbledt4: TLabeledEdit
Left = 279
Top = 20
Width = 147
Height = 21
EditLabel.Width = 51
EditLabel.Height = 13
EditLabel.Caption = 'Tel'#233'fono 2'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
LabelPosition = lpLeft
ParentFont = False
TabOrder = 0
end
object lbledt5: TLabeledEdit
Left = 62
Top = 20
Width = 147
Height = 21
CharCase = ecUpperCase
EditLabel.Width = 51
EditLabel.Height = 13
EditLabel.Caption = 'Tel'#233'fono 1'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
LabelPosition = lpLeft
ParentFont = False
TabOrder = 1
end
object lbledt10: TLabeledEdit
Left = 62
Top = 60
Width = 187
Height = 21
CharCase = ecUpperCase
EditLabel.Width = 18
EditLabel.Height = 13
EditLabel.Caption = 'Mail'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
LabelPosition = lpLeft
ParentFont = False
TabOrder = 2
end
object lbledt11: TLabeledEdit
Left = 278
Top = 60
Width = 147
Height = 21
CharCase = ecUpperCase
EditLabel.Width = 18
EditLabel.Height = 13
EditLabel.Caption = 'Fax'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
LabelPosition = lpLeft
ParentFont = False
TabOrder = 3
end
end
object grp5: TGroupBox
AlignWithMargins = True
Left = 437
Top = 4
Width = 365
Height = 97
Margins.Left = 10
Margins.Bottom = 10
Align = alClient
Caption = 'Direcci'#243'n '
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 2
object lbledt6: TLabeledEdit
Left = 72
Top = 20
Width = 281
Height = 21
EditLabel.Width = 43
EditLabel.Height = 13
EditLabel.Caption = 'Direcci'#243'n'
LabelPosition = lpLeft
TabOrder = 0
end
object lbledt7: TLabeledEdit
Left = 72
Top = 61
Width = 77
Height = 21
EditLabel.Width = 65
EditLabel.Height = 13
EditLabel.Caption = 'Codigo Postal'
LabelPosition = lpLeft
TabOrder = 1
end
object lbledt8: TLabeledEdit
Left = 200
Top = 61
Width = 153
Height = 21
EditLabel.Width = 33
EditLabel.Height = 13
EditLabel.Caption = 'Ciudad'
LabelPosition = lpLeft
TabOrder = 2
end
end
end
end
object coolbar: TCoolBar
Left = 0
Top = 0
Width = 1296
Height = 37
Bands = <>
ExplicitLeft = 3
ExplicitTop = -3
object tlb1: TToolBar
Left = 11
Top = 0
Width = 1281
Height = 25
Caption = 'tlb1'
TabOrder = 0
object btn1: TToolButton
Left = 0
Top = 0
Caption = 'btn1'
ImageIndex = 0
OnClick = btn1Click
end
end
end
object gridpanel11: TGridPanel
Left = 0
Top = 172
Width = 1296
Height = 440
Align = alClient
ColumnCollection = <
item
Value = 100.000000000000000000
end>
ControlCollection = <
item
Column = 0
Control = lv1
Row = 0
end>
RowCollection = <
item
Value = 76.664190348332470000
end
item
Value = 23.335809651667530000
end>
TabOrder = 2
object lv1: TListView
Left = 1
Top = 1
Width = 1294
Height = 335
Align = alClient
Columns = <
item
AutoSize = True
Caption = 'Nombre'
end
item
AutoSize = True
Caption = 'CIF'
end
item
AutoSize = True
Caption = 'Direcci'#243'n'
end
item
AutoSize = True
Caption = 'Codigo Postal'
end
item
AutoSize = True
Caption = 'Ciudad'
end>
TabOrder = 0
ViewStyle = vsReport
OnDblClick = lv1DblClick
end
end
object fdadministrador: TFDQuery
Connection = DataModule1.FDConnection1
SQL.Strings = (
'select * from administradores where idAdministrador=:idAdministr' +
'ador'
'')
Left = 352
Top = 67
ParamData = <
item
Name = 'IDADMINISTRADOR'
DataType = ftInteger
ParamType = ptInput
Value = Null
end>
end
object fdclientes: TFDQuery
Connection = DataModule1.FDConnection1
SQL.Strings = (
'select IdContactos, nombre, cif, ciudad,codigopostal,direccion'
'from clientes'
'where idAdministrador=:idAdministrador')
Left = 408
Top = 260
ParamData = <
item
Name = 'IDADMINISTRADOR'
DataType = ftInteger
ParamType = ptInput
Value = Null
end>
end
object bndsrcdb1: TBindSourceDB
DataSet = DataModule1.fdClientes
ScopeMappings = <>
Left = 640
Top = 304
end
object bndngslst1: TBindingsList
Methods = <>
OutputConverters = <>
Left = 180
Top = 65533
object LinkClientes: TLinkListControlToField
Category = 'Quick Bindings'
DataSource = bndsrcdb2
FieldName = 'nombre'
Control = lv1
FillExpressions = <
item
SourceMemberName = 'cif'
ControlMemberName = 'SubItems[0]'
end
item
SourceMemberName = 'ciudad'
ControlMemberName = 'SubItems[3]'
end
item
SourceMemberName = 'codigopostal'
ControlMemberName = 'SubItems[2]'
end
item
SourceMemberName = 'direccion'
ControlMemberName = 'SubItems[1]'
end>
FillHeaderExpressions = <>
FillBreakGroups = <>
end
object lnkcntrltfld1: TLinkControlToField
Category = 'Quick Bindings'
DataSource = bndsrcdb3
FieldName = 'IdAdministrador'
Control = lbledt1
Track = True
end
object lnkcntrltfld2: TLinkControlToField
Category = 'Quick Bindings'
DataSource = bndsrcdb3
FieldName = 'Nombre'
Control = lbledt2
Track = True
end
object lnkcntrltfld3: TLinkControlToField
Category = 'Quick Bindings'
DataSource = bndsrcdb3
FieldName = 'Apellidos'
Control = lbledt3
Track = True
end
object lnkcntrltfld4: TLinkControlToField
Category = 'Quick Bindings'
DataSource = bndsrcdb3
FieldName = 'NombreApellidos'
Control = lbledt9
Track = True
end
object lnkcntrltfld5: TLinkControlToField
Category = 'Quick Bindings'
DataSource = bndsrcdb3
FieldName = 'Direccion'
Control = lbledt6
Track = True
end
object lnkcntrltfld6: TLinkControlToField
Category = 'Quick Bindings'
DataSource = bndsrcdb3
FieldName = 'CodPostal'
Control = lbledt7
Track = True
end
object lnkcntrltfld7: TLinkControlToField
Category = 'Quick Bindings'
DataSource = bndsrcdb3
FieldName = 'Ciudad'
Control = lbledt8
Track = True
end
object lnkcntrltfld8: TLinkControlToField
Category = 'Quick Bindings'
DataSource = bndsrcdb3
FieldName = 'TelefonoTrabajo'
Control = lbledt5
Track = True
end
object lnkcntrltfld9: TLinkControlToField
Category = 'Quick Bindings'
DataSource = bndsrcdb3
FieldName = 'TelefonoMovil'
Control = lbledt4
Track = True
end
object lnkcntrltfld10: TLinkControlToField
Category = 'Quick Bindings'
DataSource = bndsrcdb3
FieldName = 'correo'
Control = lbledt10
Track = True
end
object lnkcntrltfld11: TLinkControlToField
Category = 'Quick Bindings'
DataSource = bndsrcdb3
FieldName = 'NumFax'
Control = lbledt11
Track = True
end
end
object bndsrcdb2: TBindSourceDB
DataSet = fdclientes
ScopeMappings = <>
Left = 648
Top = 312
end
object bndsrcdb3: TBindSourceDB
DataSet = fdadministrador
ScopeMappings = <>
Left = 656
Top = 320
end
object mm1: TMainMenu
Left = 128
Top = 16
end
end