-
Notifications
You must be signed in to change notification settings - Fork 0
/
UPrincipal.~dfm
251 lines (251 loc) · 6.66 KB
/
UPrincipal.~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
object FPrincipal: TFPrincipal
Left = 388
Top = 224
Width = 857
Height = 423
Caption = 'Pre'#231'os de Fraldas'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
OnClose = FormClose
OnCreate = FormCreate
DesignSize = (
841
384)
PixelsPerInch = 96
TextHeight = 13
object PanelPrincipal: TPanel
Left = 6
Top = 4
Width = 832
Height = 375
Anchors = [akLeft, akTop, akRight, akBottom]
Caption = '-'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsItalic]
ParentFont = False
TabOrder = 0
object Label1: TLabel
Left = 17
Top = 3
Width = 491
Height = 29
Caption = 'Sistema Para C'#225'lculo de Pre'#231'o das Fraldas'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -24
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
end
object BtnAdicionar: TButton
Left = 184
Top = 127
Width = 80
Height = 32
Caption = 'Adicionar'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 3
OnClick = BtnAdicionarClick
end
object EdtEstabelecimento: TExlEdit
Left = 162
Top = 50
Properties.Alignment.Horz = taLeftJustify
StyleDisabled.TextColor = clBlack
StyleFocused.Color = 16772283
TabOrder = 0
LabelCaption = 'Estabelecimento'
LabelPosition = lpLeftLeft
LabelSpacing = 3
LabelWidth = 125
LabelFont.Charset = ANSI_CHARSET
LabelFont.Color = clWindowText
LabelFont.Height = -13
LabelFont.Name = 'Arial'
LabelFont.Style = [fsBold]
Width = 121
end
object EdtPrecoPacote: TExlEdit
Left = 161
Top = 75
DragKind = dkDock
Properties.Alignment.Horz = taLeftJustify
Properties.MaxLength = 15
StyleDisabled.TextColor = clBlack
StyleFocused.Color = 16772283
TabOrder = 1
DisplayFormat = '#,##0.00'
EditType = etValor
LabelCaption = 'Pre'#231'o do Pacote'
LabelPosition = lpLeftLeft
LabelSpacing = 3
LabelWidth = 125
LabelFont.Charset = ANSI_CHARSET
LabelFont.Color = clWindowText
LabelFont.Height = -13
LabelFont.Name = 'Arial'
LabelFont.Style = [fsBold]
Width = 121
end
object EdtQtdePorPacote: TExlEdit
Left = 161
Top = 100
Properties.Alignment.Horz = taLeftJustify
StyleDisabled.TextColor = clBlack
StyleFocused.Color = 16772283
TabOrder = 2
EditType = etInteiro
LabelCaption = 'Qtde Por Pacote'
LabelPosition = lpLeftLeft
LabelSpacing = 3
LabelWidth = 125
LabelFont.Charset = ANSI_CHARSET
LabelFont.Color = clWindowText
LabelFont.Height = -13
LabelFont.Name = 'Arial'
LabelFont.Style = [fsBold]
Width = 121
end
object BtnBuscaMenorValor: TButton
Left = 167
Top = 161
Width = 115
Height = 33
Caption = 'Busca Menor Valor'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Arial Narrow'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 4
OnClick = BtnBuscaMenorValorClick
end
object Button1: TButton
Left = 720
Top = 321
Width = 89
Height = 32
Caption = 'Excluir'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Arial Narrow'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 5
OnClick = Button1Click
end
end
object cxGrid1: TcxGrid
Left = 321
Top = 47
Width = 497
Height = 272
Anchors = [akLeft, akTop, akBottom]
TabOrder = 1
object cxGrid1DBTableView1: TcxGridDBTableView
NavigatorButtons.ConfirmDelete = False
DataController.DataSource = DSDados
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
object GDBEstabelecimento: TcxGridDBColumn
Caption = 'ESTABELECIMENTO'
DataBinding.FieldName = 'Estabelecimento'
Options.Editing = False
Options.Filtering = False
Width = 176
end
object GDBPrecoPacote: TcxGridDBColumn
Caption = 'PRE'#199'O PACOTE'
DataBinding.FieldName = 'PrecoPacote'
Options.Editing = False
Options.Filtering = False
Width = 104
end
object GDBQtdePorPacote: TcxGridDBColumn
Caption = 'QTDE POR PACOTE'
DataBinding.FieldName = 'QtdePorPacote'
Options.Editing = False
Options.Filtering = False
Width = 115
end
object GDBValorUnitario: TcxGridDBColumn
Caption = 'VALOR UNIT'#193'RIO'
DataBinding.FieldName = 'ValorUnitario'
Options.Editing = False
Options.Filtering = False
Width = 102
end
end
object cxGrid1Level1: TcxGridLevel
GridView = cxGrid1DBTableView1
end
end
object DSDados: TDataSource
DataSet = CDSDados
Left = 519
Top = 174
end
object CDSDados: TClientDataSet
Active = True
Aggregates = <>
Params = <
item
DataType = ftUnknown
Name = 'Estabelecimento'
ParamType = ptUnknown
end
item
DataType = ftUnknown
Name = 'PrecoPacote'
ParamType = ptUnknown
end
item
DataType = ftUnknown
Name = 'QtdePorPacote'
ParamType = ptUnknown
end
item
DataType = ftUnknown
Name = 'ValorUnitario'
ParamType = ptUnknown
end>
Left = 487
Top = 174
Data = {
A60000009619E0BD010000001800000004000000000003000000A6000F457374
6162656C6563696D656E746F0100490000000100055749445448020002004100
0B507265636F5061636F74650800040000000100075355425459504502004900
06004D6F6E6579000D51746465506F725061636F746504000100000000000D56
616C6F72556E69746172696F0800040000000100075355425459504502004900
06004D6F6E6579000000}
object CDSDadosEstabelecimento: TStringField
FieldName = 'Estabelecimento'
Size = 65
end
object CDSDadosPrecoPacote: TCurrencyField
FieldName = 'PrecoPacote'
end
object CDSDadosQtdePorPacote: TIntegerField
FieldName = 'QtdePorPacote'
end
object CDSDadosValorUnitario: TCurrencyField
FieldName = 'ValorUnitario'
end
end
end