-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.dfm
642 lines (642 loc) · 16.5 KB
/
config.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
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
object configuracion: Tconfiguracion
Left = 0
Top = 0
BorderStyle = bsSizeToolWin
Caption = 'Configuracion'
ClientHeight = 364
ClientWidth = 726
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnClose = FormClose
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object pgc1: TPageControl
Left = 0
Top = 0
Width = 726
Height = 364
ActivePage = tsServidor
Align = alClient
TabOrder = 0
OnChange = pgc1Change
object tsServidor: TTabSheet
Caption = 'Servidor'
object btn1: TButton
Left = 336
Top = 272
Width = 75
Height = 25
Caption = 'Aceptar'
TabOrder = 5
OnClick = btn1Click
end
object lbEservidor: TLabeledEdit
Left = 160
Top = 48
Width = 121
Height = 21
EditLabel.Width = 40
EditLabel.Height = 13
EditLabel.Caption = 'Servidor'
LabelPosition = lpLeft
TabOrder = 1
end
object lbEpuerto: TLabeledEdit
Left = 160
Top = 93
Width = 121
Height = 21
EditLabel.Width = 37
EditLabel.Height = 13
EditLabel.Caption = 'Pucerto'
LabelPosition = lpLeft
TabOrder = 2
end
object lbEdriver: TLabeledEdit
Left = 160
Top = 3
Width = 121
Height = 21
EditLabel.Width = 29
EditLabel.Height = 13
EditLabel.Caption = 'Driver'
LabelPosition = lpLeft
TabOrder = 0
end
object lbEDataBase: TLabeledEdit
Left = 160
Top = 144
Width = 121
Height = 21
EditLabel.Width = 53
EditLabel.Height = 13
EditLabel.Caption = 'lbEservidor'
LabelPosition = lpLeft
TabOrder = 3
end
object lbEVerdorLib: TLabeledEdit
Left = 160
Top = 192
Width = 473
Height = 21
EditLabel.Width = 53
EditLabel.Height = 13
EditLabel.Caption = 'lbEservidor'
LabelPosition = lpLeft
TabOrder = 4
end
object btncancelar: TButton
Left = 456
Top = 272
Width = 75
Height = 25
Caption = 'Cancelar'
TabOrder = 6
OnClick = btCancelar2Click
end
end
object tsPath: TTabSheet
Caption = 'PATH'
ImageIndex = 1
object lbPathUSer: TLabeledEdit
Left = 152
Top = 88
Width = 450
Height = 21
EditLabel.Width = 55
EditLabel.Height = 13
EditLabel.Caption = 'PATH USER'
LabelPosition = lpLeft
TabOrder = 0
end
object lbPathPlantillas: TLabeledEdit
Left = 152
Top = 128
Width = 450
Height = 21
EditLabel.Width = 87
EditLabel.Height = 13
EditLabel.Caption = 'PATH PLANTILLAS'
LabelPosition = lpLeft
TabOrder = 1
end
object lbPathPresupuestos: TLabeledEdit
Left = 152
Top = 176
Width = 450
Height = 21
EditLabel.Width = 106
EditLabel.Height = 13
EditLabel.Caption = 'PATH PRESUPUESTOS'
LabelPosition = lpLeft
TabOrder = 2
end
object lbPathObras: TLabeledEdit
Left = 152
Top = 216
Width = 450
Height = 21
EditLabel.Width = 63
EditLabel.Height = 13
EditLabel.Caption = 'PATH OBRAS'
LabelPosition = lpLeft
TabOrder = 3
end
object btAceptar: TButton
Left = 288
Top = 288
Width = 75
Height = 25
Caption = 'btAceptar'
TabOrder = 4
OnClick = btAceptarClick
end
object btCancelar1: TButton
Left = 400
Top = 288
Width = 75
Height = 25
Caption = 'Cancelar'
TabOrder = 5
OnClick = btCancelar2Click
end
object lbPathThunderbird: TLabeledEdit
Left = 152
Top = 261
Width = 450
Height = 21
EditLabel.Width = 100
EditLabel.Height = 13
EditLabel.Caption = 'PATH THUNDERBIRD'
LabelPosition = lpLeft
TabOrder = 6
end
end
object tsIVA: TTabSheet
Caption = 'I.V.A y Descuentos'
ImageIndex = 2
object lbIVAdefecto: TLabeledEdit
Left = 152
Top = 72
Width = 73
Height = 21
EditLabel.Width = 57
EditLabel.Height = 13
EditLabel.Caption = 'IVA defecto'
LabelPosition = lpLeft
TabOrder = 1
OnKeyPress = lbIVAdefectoKeyPress
end
object btAceptar2: TButton
Left = 240
Top = 272
Width = 75
Height = 25
Caption = 'Aceptar'
TabOrder = 2
OnClick = btAceptar2Click
end
object btCancelar2: TButton
Left = 392
Top = 272
Width = 75
Height = 25
Caption = 'Cancelar'
TabOrder = 3
OnClick = btCancelar2Click
end
object rzgrpbx1: TRzGroupBox
Left = 416
Top = 56
Width = 233
Height = 185
Caption = 'I.R.P.F'
TabOrder = 0
object lbedIRPFdefecto: TLabeledEdit
Left = 96
Top = 56
Width = 73
Height = 21
EditLabel.Width = 75
EditLabel.Height = 13
EditLabel.Caption = 'I.R.P.F defecto'
LabelPosition = lpLeft
TabOrder = 0
OnKeyPress = lbIVAdefectoKeyPress
end
end
end
object ts1: TTabSheet
Caption = 'Empresa'
ImageIndex = 3
object lbedEmpresa: TLabeledEdit
Left = 280
Top = 88
Width = 121
Height = 21
EditLabel.Width = 41
EditLabel.Height = 13
EditLabel.Caption = 'Empresa'
LabelPosition = lpLeft
TabOrder = 0
end
object btn2: TButton
Left = 248
Top = 280
Width = 75
Height = 25
Caption = 'Aceptar'
TabOrder = 1
OnClick = btn2Click
end
object btn3: TButton
Left = 400
Top = 280
Width = 75
Height = 25
Caption = 'Cancelar'
TabOrder = 2
OnClick = btCancelar2Click
end
end
object ts2: TTabSheet
Caption = 'Cuentas'
ImageIndex = 4
OnEnter = ts2Enter
OnExit = ts2Exit
object grp1: TGroupBox
AlignWithMargins = True
Left = 287
Top = 32
Width = 428
Height = 301
Align = alRight
Anchors = [akLeft, akTop, akRight, akBottom]
Caption = 'Maestro de Cuentas'
TabOrder = 2
object rDBGridClientes1: TrDBGrid_MS
AlignWithMargins = True
Left = 5
Top = 18
Width = 418
Height = 278
Align = alClient
DataSource = ds1
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'Tahoma'
TitleFont.Style = []
ColumnWidth = cwAutoWidth
TitleLines = 2
Columns = <
item
Expanded = False
FieldName = 'id_cuenta'
Title.Caption = 'C'#243'digo'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Width = 87
Visible = True
end
item
Expanded = False
FieldName = 'descripcion'
Title.Caption = 'Categoria'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Width = 293
Visible = True
end>
end
end
object grp2: TGroupBox
AlignWithMargins = True
Left = 3
Top = 32
Width = 278
Height = 301
Align = alLeft
Anchors = [akTop, akRight, akBottom]
Caption = 'Edici'#243'n de cuentas'
TabOrder = 1
object rDBEdit1: TrDBEdit
Left = 88
Top = 48
Width = 177
Height = 21
DataField = 'id_cuenta'
DataSource = ds1
TabOrder = 0
DBEditLabel.OwnCaption = 'C'#243'digo Categoria'
DBEditLabel.Position = lpLeftCenter
end
object rDBEdit2: TrDBEdit
Left = 72
Top = 91
Width = 193
Height = 21
DataField = 'descripcion'
DataSource = ds1
TabOrder = 1
DBEditLabel.OwnCaption = 'Descripci'#243'n'
DBEditLabel.Position = lpLeftCenter
end
object btn4: TButton
Left = 136
Top = 184
Width = 89
Height = 41
Caption = 'Guardar'
Enabled = False
TabOrder = 3
OnClick = btn4Click
end
object btn5: TButton
Left = 24
Top = 184
Width = 89
Height = 41
Caption = 'Nuevo'
Enabled = False
TabOrder = 2
OnClick = btn5Click
end
end
object tlb1: TToolBar
Left = 0
Top = 0
Width = 718
Height = 29
Caption = 'tlb1'
TabOrder = 0
object btn6: TToolButton
Left = 0
Top = 0
Caption = 'btn6'
ImageIndex = 0
OnClick = btn6Click
end
end
end
object TabSheet1: TTabSheet
Caption = 'Categor'#237'a Compras'
ImageIndex = 5
object GroupBox1: TGroupBox
AlignWithMargins = True
Left = 3
Top = 3
Width = 278
Height = 330
Align = alLeft
Anchors = [akTop, akRight, akBottom]
Caption = 'Edici'#243'n de cuentas'
TabOrder = 0
object rDBEdit3: TrDBEdit
Left = 88
Top = 48
Width = 177
Height = 21
DataField = 'id_categoriacompra'
DataSource = ds2
ReadOnly = True
TabOrder = 0
DBEditLabel.OwnCaption = 'N'#186' de Cuenta'
DBEditLabel.Position = lpLeftCenter
end
object rDBEdit4: TrDBEdit
Left = 72
Top = 91
Width = 193
Height = 21
DataField = 'descripcion'
DataSource = ds2
TabOrder = 1
DBEditLabel.OwnCaption = 'Descripci'#243'n'
DBEditLabel.Position = lpLeftCenter
end
object Button1: TButton
Left = 136
Top = 184
Width = 89
Height = 41
Caption = 'Guardar'
Enabled = False
TabOrder = 3
OnClick = Button1Click
end
object Button2: TButton
Left = 24
Top = 184
Width = 89
Height = 41
Caption = 'Nuevo'
Enabled = False
TabOrder = 2
OnClick = Button2Click
end
end
object GroupBox2: TGroupBox
AlignWithMargins = True
Left = 287
Top = 3
Width = 428
Height = 330
Align = alRight
Anchors = [akLeft, akTop, akRight, akBottom]
Caption = 'Maestro de Cuentas'
TabOrder = 1
object rDBGrid_MS1: TrDBGrid_MS
AlignWithMargins = True
Left = 5
Top = 18
Width = 418
Height = 307
Align = alClient
DataSource = ds2
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'Tahoma'
TitleFont.Style = []
ColumnWidth = cwAutoWidth
TitleLines = 2
Columns = <
item
Expanded = False
FieldName = 'id_categoriacompra'
Title.Caption = 'C'#243'digo'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Width = 87
Visible = True
end
item
Expanded = False
FieldName = 'descripcion'
Title.Caption = 'Descripci'#243'n'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Width = 293
Visible = True
end>
end
end
end
object ts3: TTabSheet
Caption = 'Categor'#237'a Presupuestos'
ImageIndex = 6
object GroupBox3: TGroupBox
AlignWithMargins = True
Left = 3
Top = 3
Width = 278
Height = 330
Align = alLeft
Anchors = [akTop, akRight, akBottom]
Caption = 'Edici'#243'n de cuentas'
TabOrder = 0
ExplicitLeft = 11
ExplicitTop = 6
object rDBEdit5: TrDBEdit
Left = 88
Top = 48
Width = 177
Height = 21
DataField = 'id_categoriapresupuestos'
DataSource = ds3
ReadOnly = True
TabOrder = 0
DBEditLabel.OwnCaption = 'N'#186' de Cuenta'
DBEditLabel.Position = lpLeftCenter
end
object rDBEdit6: TrDBEdit
Left = 72
Top = 91
Width = 193
Height = 21
DataField = 'descripcion'
DataSource = ds3
TabOrder = 1
DBEditLabel.OwnCaption = 'Descripci'#243'n'
DBEditLabel.Position = lpLeftCenter
end
object Button3: TButton
Left = 136
Top = 184
Width = 89
Height = 41
Caption = 'Guardar'
Enabled = False
TabOrder = 3
OnClick = Button3Click
end
object Button4: TButton
Left = 24
Top = 184
Width = 89
Height = 41
Caption = 'Nuevo'
Enabled = False
TabOrder = 2
OnClick = Button4Click
end
end
object GroupBox4: TGroupBox
AlignWithMargins = True
Left = 287
Top = 3
Width = 428
Height = 330
Align = alRight
Anchors = [akLeft, akTop, akRight, akBottom]
Caption = 'Maestro de Cuentas'
TabOrder = 1
ExplicitLeft = 290
ExplicitTop = 6
object rDBGrid_MS2: TrDBGrid_MS
AlignWithMargins = True
Left = 5
Top = 18
Width = 418
Height = 307
Align = alClient
DataSource = ds3
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'Tahoma'
TitleFont.Style = []
ColumnWidth = cwAutoWidth
TitleLines = 2
Columns = <
item
Alignment = taCenter
Expanded = False
FieldName = 'id_categoriapresupuestos'
Title.Alignment = taCenter
Title.Caption = 'C'#243'digo'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Visible = True
end
item
Expanded = False
FieldName = 'descripcion'
Title.Alignment = taCenter
Title.Caption = 'Descripci'#243'n'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Width = 118
Visible = True
end>
end
end
end
end
object ds1: TDataSource
DataSet = DataModule1.fdqcuentas
OnStateChange = ds1StateChange
Left = 212
Top = 8
end
object ds2: TDataSource
DataSet = DataModule1.fdcategoriascompras
OnStateChange = ds2StateChange
Left = 579
Top = 152
end
object ds3: TDataSource
DataSet = DataModule1.fdcategoriapresupuestos
OnStateChange = ds3StateChange
Left = 592
Top = 24
end
end