-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPrevisionPresupuestos.dfm
450 lines (449 loc) · 10.6 KB
/
PrevisionPresupuestos.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
object FPrevisionEjecucion: TFPrevisionEjecucion
Left = 0
Top = 0
BorderIcons = [biSystemMenu]
BorderStyle = bsToolWindow
Caption = 'Prevision de Ejecuci'#243'n de Presupuestos'
ClientHeight = 619
ClientWidth = 1296
Color = clBtnFace
DragKind = dkDock
DragMode = dmAutomatic
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 Panel1: TPanel
Left = 0
Top = 43
Width = 1296
Height = 70
Align = alTop
TabOrder = 0
object GroupBox2: TGroupBox
AlignWithMargins = True
Left = 784
Top = 4
Width = 146
Height = 62
Align = alLeft
Caption = 'A'#241'o'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
object rComboBoxEx1: TrComboBoxEx
Left = 9
Top = 21
Width = 128
Height = 21
TabOrder = 0
Text = 'rComboBoxEx1'
end
end
object GroupBox3: TGroupBox
Left = 252
Top = 1
Width = 529
Height = 68
Align = alLeft
Caption = 'Mes'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 1
object rb1: TRadioButton
Tag = 1
Left = 11
Top = 24
Width = 38
Height = 17
Caption = '1'
TabOrder = 0
OnClick = rb1Click
end
object rb2: TRadioButton
Tag = 2
Left = 55
Top = 24
Width = 38
Height = 17
Caption = '2'
TabOrder = 1
OnClick = rb1Click
end
object rb3: TRadioButton
Tag = 3
Left = 99
Top = 24
Width = 38
Height = 17
Caption = '3'
TabOrder = 2
OnClick = rb1Click
end
object rb4: TRadioButton
Tag = 4
Left = 143
Top = 24
Width = 38
Height = 17
Caption = '4'
TabOrder = 3
OnClick = rb1Click
end
object rb5: TRadioButton
Tag = 5
Left = 187
Top = 24
Width = 38
Height = 17
Caption = '5'
TabOrder = 4
OnClick = rb1Click
end
object rb6: TRadioButton
Tag = 6
Left = 231
Top = 24
Width = 38
Height = 17
Caption = '6'
TabOrder = 5
OnClick = rb1Click
end
object rb7: TRadioButton
Tag = 7
Left = 275
Top = 24
Width = 38
Height = 17
Caption = '7'
TabOrder = 6
OnClick = rb1Click
end
object rb8: TRadioButton
Tag = 8
Left = 319
Top = 24
Width = 38
Height = 17
Caption = '8'
TabOrder = 7
OnClick = rb1Click
end
object rb9: TRadioButton
Tag = 9
Left = 363
Top = 24
Width = 38
Height = 17
Caption = '9'
TabOrder = 8
OnClick = rb1Click
end
object rb10: TRadioButton
Tag = 10
Left = 403
Top = 24
Width = 38
Height = 17
Caption = '10'
TabOrder = 9
OnClick = rb1Click
end
object rb11: TRadioButton
Tag = 11
Left = 447
Top = 24
Width = 38
Height = 17
Caption = '11'
TabOrder = 10
OnClick = rb1Click
end
object rb12: TRadioButton
Tag = 12
Left = 491
Top = 24
Width = 38
Height = 17
Caption = '12'
TabOrder = 11
OnClick = rb1Click
end
end
object GroupBox4: TGroupBox
AlignWithMargins = True
Left = 4
Top = 4
Width = 245
Height = 62
Align = alLeft
Caption = 'Buscar'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 2
object LabeledEdit1: TLabeledEdit
Left = 48
Top = 23
Width = 174
Height = 21
CharCase = ecUpperCase
EditLabel.Width = 42
EditLabel.Height = 14
EditLabel.Caption = 'Cliente'
EditLabel.Font.Charset = DEFAULT_CHARSET
EditLabel.Font.Color = clWindowText
EditLabel.Font.Height = -12
EditLabel.Font.Name = 'Tahoma'
EditLabel.Font.Style = [fsBold]
EditLabel.ParentFont = False
LabelPosition = lpLeft
TabOrder = 0
OnChange = LabeledEdit1Change
end
end
end
object stat1: TStatusBar
Left = 0
Top = 592
Width = 1296
Height = 27
Panels = <>
SimplePanel = True
end
object tlb1: TToolBar
Left = 0
Top = 0
Width = 1296
Height = 43
ButtonHeight = 42
ButtonWidth = 42
Caption = 'tlb1'
Images = DataModule1.ImageList1
TabOrder = 2
object btn1: TToolButton
Left = 0
Top = 0
Caption = 'btn1'
ImageIndex = 15
OnClick = btn1Click
end
object btn2: TToolButton
Left = 42
Top = 0
Width = 8
Caption = 'btn2'
ImageIndex = 1
Style = tbsSeparator
end
object btn3: TToolButton
Left = 50
Top = 0
Caption = 'btn3'
ImageIndex = 31
OnClick = btn3Click
end
object btn5: TToolButton
Left = 92
Top = 0
Caption = 'btn5'
ImageIndex = 33
OnClick = btn5Click
end
object ToolButton1: TToolButton
Left = 134
Top = 0
Width = 8
Caption = 'ToolButton1'
ImageIndex = 34
Style = tbsSeparator
end
object ToolButton3: TToolButton
Left = 142
Top = 0
Caption = 'ToolButton3'
ImageIndex = 43
OnClick = ToolButton3Click
end
end
object rDBGrid_MS1: TrDBGrid_MS
AlignWithMargins = True
Left = 3
Top = 116
Width = 1290
Height = 473
Align = alClient
DataSource = ds1
TabOrder = 3
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'Tahoma'
TitleFont.Style = []
Sorter = DataModule1.rDBGridSorter_FireDac1
ColumnWidth = cwAutoWidth
TitleLines = 2
RowLines = 2
RowVerticalAlign = taVerticalCenter
FooterRow.FooterVisible = True
FooterRow.FieldFooterDefs.Strings = (
'id_presupuesto=%COUNTVAL presupuestos;'
'total=%SUM '#8364';')
Columns = <
item
Alignment = taCenter
Expanded = False
FieldName = 'id_prevision'
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]
Width = 60
Visible = True
end
item
Alignment = taCenter
Expanded = False
FieldName = 'id_presupuesto'
Title.Alignment = taCenter
Title.Caption = 'N'#186' Presupuesto'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Width = 112
Visible = True
end
item
Alignment = taCenter
Expanded = False
FieldName = 'grupo'
Title.Alignment = taCenter
Title.Caption = 'Grupo'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Width = 76
Visible = True
end
item
Expanded = False
FieldName = 'nombre'
Title.Caption = 'Cliente'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Width = 316
Visible = True
end
item
Expanded = False
FieldName = 'total'
Title.Alignment = taCenter
Title.Caption = 'Total'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Width = 76
Visible = True
end
item
Alignment = taCenter
ButtonStyle = cbsEllipsis
Expanded = False
FieldName = 'mesprevision'
Title.Alignment = taCenter
Title.Caption = 'Previsi'#243'n'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Width = 86
Visible = True
end
item
Alignment = taCenter
ButtonStyle = cbsEllipsis
Expanded = False
FieldName = 'fechacomienzoEstimada'
Title.Alignment = taCenter
Title.Caption = 'Inicio'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Width = 76
Visible = True
end
item
Alignment = taCenter
ButtonStyle = cbsEllipsis
Expanded = False
FieldName = 'fechafinEstimada'
Title.Alignment = taCenter
Title.Caption = 'Final'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Width = 76
Visible = True
end
item
Expanded = False
FieldName = 'trabajadores'
Title.Caption = 'Equipo'
Title.Font.Charset = DEFAULT_CHARSET
Title.Font.Color = clWindowText
Title.Font.Height = -13
Title.Font.Name = 'Tahoma'
Title.Font.Style = [fsBold]
Width = 360
Visible = True
end>
end
object ds1: TDataSource
DataSet = DataModule1.fdPrevisionPresupuestos
Left = 256
Top = 329
end
object fdtrabajadores: TFDQuery
Connection = DataModule1.FDConnection1
SQL.Strings = (
'select id_trabajador,nombre from trabajadores where activado= tr' +
'ue')
Left = 448
Top = 392
end
end