-
Notifications
You must be signed in to change notification settings - Fork 0
/
UCadComplemento.dfm
322 lines (322 loc) · 6.7 KB
/
UCadComplemento.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
object frmCadComp: TfrmCadComp
Left = 0
Top = 0
Caption = 'Cadastrar Complementos'
ClientHeight = 382
ClientWidth = 382
Color = clBtnFace
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Arial Narrow'
Font.Style = []
OldCreateOrder = False
Position = poDesktopCenter
OnClose = FormClose
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 20
object Shape8: TShape
Left = 0
Top = 0
Width = 382
Height = 382
Align = alClient
ExplicitLeft = 8
ExplicitWidth = 392
end
object Label1: TLabel
Left = 8
Top = 24
Width = 50
Height = 23
Caption = 'C'#243'digo'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -19
Font.Name = 'Arial Narrow'
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 8
Top = 80
Width = 42
Height = 23
Caption = 'Nome'
FocusControl = edtNome
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -19
Font.Name = 'Arial Narrow'
Font.Style = []
ParentFont = False
end
object txtCodigo: TDBText
Left = 8
Top = 48
Width = 65
Height = 26
DataField = 'compCodigo'
DataSource = dsComplemento
Font.Charset = ANSI_CHARSET
Font.Color = clRed
Font.Height = -16
Font.Name = 'Arial Narrow'
Font.Style = []
ParentFont = False
end
object Shape1: TShape
Left = -3
Top = 0
Width = 387
Height = 18
Brush.Color = 11545533
Pen.Style = psClear
end
object Shape2: TShape
Left = -3
Top = 368
Width = 387
Height = 18
Brush.Color = 11545533
Pen.Style = psClear
end
object Shape3: TShape
Left = 21
Top = 296
Width = 97
Height = 25
Brush.Color = 11545533
Pen.Style = psClear
Shape = stRoundRect
end
object Shape4: TShape
Left = 134
Top = 296
Width = 97
Height = 25
Brush.Color = 11545533
Pen.Style = psClear
Shape = stRoundRect
end
object Shape5: TShape
Left = 248
Top = 296
Width = 97
Height = 25
Brush.Color = 11545533
Pen.Style = psClear
Shape = stRoundRect
end
object Shape6: TShape
Left = 64
Top = 327
Width = 97
Height = 25
Brush.Color = 11545533
Pen.Style = psClear
Shape = stRoundRect
end
object Shape7: TShape
Left = 192
Top = 327
Width = 97
Height = 25
Brush.Color = 11545533
Pen.Style = psClear
Shape = stRoundRect
end
object lblAdicionar: TLabel
Left = 44
Top = 297
Width = 56
Height = 20
Caption = 'Adicionar'
end
object lblEditar: TLabel
Left = 164
Top = 297
Width = 34
Height = 20
Caption = 'Editar'
end
object lblRemover: TLabel
Left = 274
Top = 297
Width = 55
Height = 20
Caption = 'Remover'
end
object lblCancelar: TLabel
Left = 88
Top = 328
Width = 52
Height = 20
Caption = 'Cancelar'
end
object lblSalvar: TLabel
Left = 224
Top = 328
Width = 37
Height = 20
Caption = 'Salvar'
end
object btnAdicionar: TImage
Left = 24
Top = 297
Width = 94
Height = 24
OnClick = btnAdicionarClick
end
object btnEditar: TImage
Left = 134
Top = 297
Width = 94
Height = 24
OnClick = btnEditarClick
end
object btnRemover: TImage
Left = 249
Top = 297
Width = 94
Height = 24
end
object btnCancelar: TImage
Left = 65
Top = 327
Width = 94
Height = 24
OnClick = btnCancelarClick
end
object btnSalvar: TImage
Left = 194
Top = 327
Width = 94
Height = 24
OnClick = btnSalvarClick
end
object edtNome: TDBEdit
Left = 8
Top = 104
Width = 353
Height = 28
DataField = 'compNome'
DataSource = dsComplemento
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Arial Narrow'
Font.Style = []
ParentFont = False
TabOrder = 0
end
object gbTipoImo: TGroupBox
Left = 8
Top = 136
Width = 369
Height = 146
Hint = 'Salve ou Cancele antes de fazer a liga'#231#227'o'
Caption = 'Escolha o Im'#243'veis que podem possuir esse Complemento:'
Color = clWhite
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Arial Narrow'
Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False
TabOrder = 1
object cbLote: TCheckBox
Left = 16
Top = 40
Width = 97
Height = 17
Caption = 'Lote'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Arial'
Font.Style = []
ParentFont = False
TabOrder = 0
OnClick = cbLoteClick
end
object cbCasa: TCheckBox
Left = 16
Top = 88
Width = 97
Height = 17
Caption = 'Casa'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Arial'
Font.Style = []
ParentFont = False
TabOrder = 1
OnClick = cbCasaClick
end
object cbApartamento: TCheckBox
Left = 168
Top = 40
Width = 177
Height = 17
Caption = 'Apartamento'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Arial'
Font.Style = []
ParentFont = False
TabOrder = 2
OnClick = cbApartamentoClick
end
object cbComer: TCheckBox
Left = 168
Top = 88
Width = 190
Height = 17
Caption = 'Resid'#234'ncia Comercial'
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'Arial'
Font.Style = []
ParentFont = False
TabOrder = 3
OnClick = cbComerClick
end
end
object dsComplemento: TDataSource
AutoEdit = False
DataSet = DM.qryComplemento
OnStateChange = dsComplementoStateChange
Left = 232
Top = 40
end
object dsTpComp: TDataSource
AutoEdit = False
DataSet = DM.qryTipoComp
Left = 88
Top = 40
end
object dsTpImovel: TDataSource
AutoEdit = False
DataSet = DM.qryTipoImoveis
Left = 320
Top = 40
end
object dsExlcuirTComp: TDataSource
AutoEdit = False
DataSet = DM.qryExcluirTpComp
Left = 152
Top = 48
end
object dsConComp: TDataSource
DataSet = DM.qryConsTpComp
Left = 280
Top = 24
end
end