Skip to content

Commit bdaf63d

Browse files
committed
feature/aula-15
1 parent cfac1f1 commit bdaf63d

2 files changed

Lines changed: 58 additions & 23 deletions

File tree

ClientWeb/Src/Main.View.dfm

Lines changed: 57 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
object MainView: TMainView
2-
Width = 1237
2+
Width = 1525
33
Height = 743
44
Caption = 'Delphi Web - Home'
55
OnCreate = WebFormCreate
@@ -69,7 +69,7 @@ object MainView: TMainView
6969
object WebPanel1: TWebPanel
7070
Left = 270
7171
Top = 304
72-
Width = 916
72+
Width = 1007
7373
Height = 33
7474
ElementID = 'divContainerBotoes01'
7575
ChildOrder = 5
@@ -95,7 +95,7 @@ object MainView: TMainView
9595
ChildOrder = 1
9696
ElementID = 'edtId'
9797
HeightPercent = 100.000000000000000000
98-
Text = '50'
98+
Text = '20'
9999
WidthPercent = 100.000000000000000000
100100
end
101101
object btnGetNome: TWebButton
@@ -123,8 +123,6 @@ object MainView: TMainView
123123
HeightPercent = 100.000000000000000000
124124
WidthPercent = 100.000000000000000000
125125
OnClick = btnGetClick
126-
ExplicitLeft = 265
127-
ExplicitTop = -3
128126
end
129127
object btnListar: TWebButton
130128
Left = 355
@@ -182,47 +180,65 @@ object MainView: TMainView
182180
object TMSFNCDataGrid1: TTMSFNCDataGrid
183181
Left = 270
184182
Top = 343
185-
Width = 916
186-
Height = 370
183+
Width = 1211
184+
Height = 538
185+
BevelEdges = []
186+
BevelInner = bvNone
187+
BevelOuter = bvNone
187188
ParentDoubleBuffered = False
189+
Color = 3485739
188190
DoubleBuffered = True
191+
Font.Charset = DEFAULT_CHARSET
192+
Font.Color = clWindowText
193+
Font.Height = -15
194+
Font.Name = 'Segoe UI'
195+
Font.Style = []
196+
ParentFont = False
189197
TabOrder = 2
190198
Adapter = TMSFNCDataGridDatabaseAdapter1
191199
CellAppearance.BandLayout.Font.Charset = DEFAULT_CHARSET
192200
CellAppearance.BandLayout.Font.Color = clWindowText
193201
CellAppearance.BandLayout.Font.Height = -11
194202
CellAppearance.BandLayout.Font.Name = 'Segoe UI'
195203
CellAppearance.BandLayout.Font.Style = []
204+
CellAppearance.FixedLayout.Fill.Color = 5523527
196205
CellAppearance.FixedLayout.Font.Charset = DEFAULT_CHARSET
197-
CellAppearance.FixedLayout.Font.Color = clWindowText
198-
CellAppearance.FixedLayout.Font.Height = -11
206+
CellAppearance.FixedLayout.Font.Color = clSkyBlue
207+
CellAppearance.FixedLayout.Font.Height = -12
199208
CellAppearance.FixedLayout.Font.Name = 'Segoe UI'
200-
CellAppearance.FixedLayout.Font.Style = []
209+
CellAppearance.FixedLayout.Font.Style = [fsBold]
210+
CellAppearance.FixedLayout.Stroke.Color = 4273203
201211
CellAppearance.FixedSelectedLayout.Font.Charset = DEFAULT_CHARSET
202212
CellAppearance.FixedSelectedLayout.Font.Color = clWindowText
203213
CellAppearance.FixedSelectedLayout.Font.Height = -11
204214
CellAppearance.FixedSelectedLayout.Font.Name = 'Segoe UI'
205215
CellAppearance.FixedSelectedLayout.Font.Style = []
216+
CellAppearance.FocusedLayout.Fill.Color = 15039832
206217
CellAppearance.FocusedLayout.Font.Charset = DEFAULT_CHARSET
207-
CellAppearance.FocusedLayout.Font.Color = clWindowText
208-
CellAppearance.FocusedLayout.Font.Height = -11
218+
CellAppearance.FocusedLayout.Font.Color = clWhite
219+
CellAppearance.FocusedLayout.Font.Height = -13
209220
CellAppearance.FocusedLayout.Font.Name = 'Segoe UI'
210221
CellAppearance.FocusedLayout.Font.Style = []
222+
CellAppearance.FocusedLayout.Stroke.Color = 15839041
211223
CellAppearance.GroupLayout.Font.Charset = DEFAULT_CHARSET
212224
CellAppearance.GroupLayout.Font.Color = clWindowText
213225
CellAppearance.GroupLayout.Font.Height = -11
214226
CellAppearance.GroupLayout.Font.Name = 'Segoe UI'
215227
CellAppearance.GroupLayout.Font.Style = []
228+
CellAppearance.NormalLayout.Fill.Color = 4273203
216229
CellAppearance.NormalLayout.Font.Charset = DEFAULT_CHARSET
217-
CellAppearance.NormalLayout.Font.Color = clWindowText
218-
CellAppearance.NormalLayout.Font.Height = -11
230+
CellAppearance.NormalLayout.Font.Color = clWhite
231+
CellAppearance.NormalLayout.Font.Height = -13
219232
CellAppearance.NormalLayout.Font.Name = 'Segoe UI'
220233
CellAppearance.NormalLayout.Font.Style = []
234+
CellAppearance.NormalLayout.Stroke.Color = 10125694
235+
CellAppearance.SelectedLayout.Fill.Color = 8873272
221236
CellAppearance.SelectedLayout.Font.Charset = DEFAULT_CHARSET
222-
CellAppearance.SelectedLayout.Font.Color = clWindowText
223-
CellAppearance.SelectedLayout.Font.Height = -11
237+
CellAppearance.SelectedLayout.Font.Color = clWhite
238+
CellAppearance.SelectedLayout.Font.Height = -13
224239
CellAppearance.SelectedLayout.Font.Name = 'Segoe UI'
225240
CellAppearance.SelectedLayout.Font.Style = []
241+
CellAppearance.SelectedLayout.Stroke.Color = 15839041
226242
CellAppearance.SummaryLayout.Font.Charset = DEFAULT_CHARSET
227243
CellAppearance.SummaryLayout.Font.Color = clWindowText
228244
CellAppearance.SummaryLayout.Font.Height = -11
@@ -315,7 +331,7 @@ object MainView: TMainView
315331
Appearance.SummaryLayout.Font.Name = 'Segoe UI'
316332
Appearance.SummaryLayout.Font.Style = []
317333
Header = 'C'#243'd. Cidade'
318-
Width = 80.000000000000000000
334+
Width = 90.000000000000000000
319335
end
320336
item
321337
Appearance.BandLayout.Font.Charset = DEFAULT_CHARSET
@@ -359,7 +375,7 @@ object MainView: TMainView
359375
Appearance.SummaryLayout.Font.Name = 'Segoe UI'
360376
Appearance.SummaryLayout.Font.Style = []
361377
Header = 'Nome'
362-
Width = 250.000000000000000000
378+
Width = 430.000000000000000000
363379
end
364380
item
365381
Appearance.BandLayout.Font.Charset = DEFAULT_CHARSET
@@ -403,7 +419,7 @@ object MainView: TMainView
403419
Appearance.SummaryLayout.Font.Name = 'Segoe UI'
404420
Appearance.SummaryLayout.Font.Style = []
405421
Header = 'Profiss'#227'o'
406-
Width = 150.000000000000000000
422+
Width = 300.000000000000000000
407423
end
408424
item
409425
Appearance.BandLayout.Font.Charset = DEFAULT_CHARSET
@@ -446,7 +462,9 @@ object MainView: TMainView
446462
Appearance.SummaryLayout.Font.Height = -11
447463
Appearance.SummaryLayout.Font.Name = 'Segoe UI'
448464
Appearance.SummaryLayout.Font.Style = []
465+
Formatting.Type = gdftFloat
449466
Header = 'Limite'
467+
Settings = [gcsFormatting]
450468
end
451469
item
452470
Appearance.BandLayout.Font.Charset = DEFAULT_CHARSET
@@ -489,10 +507,14 @@ object MainView: TMainView
489507
Appearance.SummaryLayout.Font.Height = -11
490508
Appearance.SummaryLayout.Font.Name = 'Segoe UI'
491509
Appearance.SummaryLayout.Font.Style = []
510+
Formatting.Type = gdftNumber
492511
Header = 'Porcentagem'
493-
Width = 90.000000000000000000
512+
Settings = [gcsType, gcsFormatting]
513+
TypeRange = gcirNormal
514+
Width = 110.000000000000000000
494515
end
495516
item
517+
Type = gcitCheckBox
496518
Appearance.BandLayout.Font.Charset = DEFAULT_CHARSET
497519
Appearance.BandLayout.Font.Color = clWindowText
498520
Appearance.BandLayout.Font.Height = -11
@@ -533,8 +555,10 @@ object MainView: TMainView
533555
Appearance.SummaryLayout.Font.Height = -11
534556
Appearance.SummaryLayout.Font.Name = 'Segoe UI'
535557
Appearance.SummaryLayout.Font.Style = []
558+
Formatting.Type = gdftBoolean
536559
Header = 'Ativo'
537-
Width = 80.000000000000000000
560+
Settings = [gcsType, gcsFormatting]
561+
Width = 95.000000000000000000
538562
end>
539563
Designer = False
540564
FilterAppearance.Font.Charset = DEFAULT_CHARSET
@@ -795,8 +819,10 @@ object MainView: TMainView
795819
Options.Filtering.Advanced = False
796820
Options.Filtering.Enabled = True
797821
Options.Sorting.Enabled = True
822+
Options.Editing.Enabled = False
823+
Options.Selection.Mode = gsmSingleRow
798824
RowCount = 1
799-
Stroke.Color = clDarkgray
825+
Stroke.Color = 4273203
800826
end
801827
object TMSFNCDataGridDatabaseAdapter1: TTMSFNCDataGridDatabaseAdapter
802828
Left = 680
@@ -823,26 +849,35 @@ object MainView: TMainView
823849
Left = 360
824850
Top = 16
825851
object XDataWebDataSet1Id: TIntegerField
852+
DisplayLabel = 'C'#243'digo'
826853
FieldName = 'Id'
827854
end
828855
object XDataWebDataSet1IdCidade: TIntegerField
856+
DisplayLabel = 'C'#243'd. Cidade'
857+
DisplayWidth = 15
829858
FieldName = 'IdCidade'
830859
end
831860
object XDataWebDataSet1Nome: TStringField
861+
DisplayWidth = 55
832862
FieldName = 'Nome'
833863
Size = 50
834864
end
835865
object XDataWebDataSet1Profissao: TStringField
866+
DisplayLabel = 'Profiss'#227'o'
867+
DisplayWidth = 45
836868
FieldName = 'Profissao'
837869
Size = 50
838870
end
839871
object XDataWebDataSet1Limite: TFloatField
872+
DefaultExpression = ',,0.00'
840873
FieldName = 'Limite'
841874
end
842875
object XDataWebDataSet1Porcentagem: TFloatField
876+
DisplayWidth = 15
843877
FieldName = 'Porcentagem'
844878
end
845879
object XDataWebDataSet1Ativo: TBooleanField
880+
DisplayWidth = 10
846881
FieldName = 'Ativo'
847882
end
848883
end

ClientWeb/Src/Main.View.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ <h3>65</h3>
882882
<!--begin::Row GRID-->
883883
<div class="row">
884884
<div class="col-lg-12 col-12" id="divContainerGrid" style="min-height: 300px; margin-top: 10px;">
885-
<textarea id="mmTeste" rows="15" style="width: 100%;"></textarea>
885+
<!-- <textarea id="mmTeste" rows="15" style="width: 100%;"></textarea> -->
886886
</div>
887887
</div>
888888
<!--end::Row GRID-->

0 commit comments

Comments
 (0)