174 lines
4.3 KiB
ObjectPascal
174 lines
4.3 KiB
ObjectPascal
object frmMain: TfrmMain
|
|
Left = 0
|
|
Top = 0
|
|
Caption = 'Mainform'
|
|
ClientHeight = 646
|
|
ClientWidth = 788
|
|
Color = clBtnFace
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = 'Segoe UI'
|
|
Font.Style = []
|
|
TextHeight = 15
|
|
object lcMain: TdxLayoutControl
|
|
Left = 0
|
|
Top = 0
|
|
Width = 788
|
|
Height = 646
|
|
Align = alClient
|
|
TabOrder = 0
|
|
ExplicitLeft = 200
|
|
ExplicitTop = 128
|
|
ExplicitWidth = 300
|
|
ExplicitHeight = 250
|
|
object btnAdd: TcxButton
|
|
Left = 359
|
|
Top = 33
|
|
Width = 75
|
|
Height = 35
|
|
Caption = 'btnAdd'
|
|
TabOrder = 0
|
|
end
|
|
object btnSave: TcxButton
|
|
Left = 441
|
|
Top = 33
|
|
Width = 75
|
|
Height = 35
|
|
Caption = 'btnSave'
|
|
TabOrder = 1
|
|
end
|
|
object btnDelete: TcxButton
|
|
Left = 523
|
|
Top = 33
|
|
Width = 75
|
|
Height = 35
|
|
Caption = 'btnDelete'
|
|
TabOrder = 2
|
|
end
|
|
object btnCancel: TcxButton
|
|
Left = 605
|
|
Top = 33
|
|
Width = 75
|
|
Height = 35
|
|
Caption = 'btnCancel'
|
|
TabOrder = 3
|
|
end
|
|
object cxButton5: TcxButton
|
|
Left = 687
|
|
Top = 33
|
|
Width = 75
|
|
Height = 35
|
|
Caption = 'cxButton5'
|
|
TabOrder = 4
|
|
end
|
|
object grdEmployee: TcxGrid
|
|
Left = 26
|
|
Top = 152
|
|
Width = 736
|
|
Height = 449
|
|
TabOrder = 5
|
|
object grdEmployeeDBTableView1: TcxGridDBTableView
|
|
Navigator.Buttons.CustomButtons = <>
|
|
ScrollbarAnnotations.CustomAnnotations = <>
|
|
DataController.Summary.DefaultGroupSummaryItems = <>
|
|
DataController.Summary.FooterSummaryItems = <>
|
|
DataController.Summary.SummaryGroups = <>
|
|
OptionsView.GroupByBox = False
|
|
end
|
|
object grdEmployeeLevel1: TcxGridLevel
|
|
GridView = grdEmployeeDBTableView1
|
|
end
|
|
end
|
|
object lgRoot: TdxLayoutGroup
|
|
AlignHorz = ahParentManaged
|
|
AlignVert = avParentManaged
|
|
Hidden = True
|
|
ItemIndex = 2
|
|
ShowBorder = False
|
|
Index = -1
|
|
end
|
|
object lgGrid: TdxLayoutGroup
|
|
Parent = lgRoot
|
|
CaptionOptions.Text = 'New Group'
|
|
LayoutDirection = ldHorizontal
|
|
Index = 0
|
|
end
|
|
object lgInput: TdxLayoutGroup
|
|
Parent = lgRoot
|
|
CaptionOptions.Text = 'New Group'
|
|
Index = 1
|
|
end
|
|
object lgToolbar: TdxLayoutGroup
|
|
Parent = lgRoot
|
|
CaptionOptions.Text = 'New Group'
|
|
Index = 2
|
|
end
|
|
object dxLayoutItem1: TdxLayoutItem
|
|
Parent = lgGrid
|
|
AlignHorz = ahRight
|
|
CaptionOptions.Text = 'cxButton1'
|
|
CaptionOptions.Visible = False
|
|
Control = btnAdd
|
|
ControlOptions.OriginalHeight = 35
|
|
ControlOptions.OriginalWidth = 75
|
|
ControlOptions.ShowBorder = False
|
|
Index = 0
|
|
end
|
|
object dxLayoutItem2: TdxLayoutItem
|
|
Parent = lgGrid
|
|
AlignHorz = ahRight
|
|
CaptionOptions.Text = 'cxButton2'
|
|
CaptionOptions.Visible = False
|
|
Control = btnSave
|
|
ControlOptions.OriginalHeight = 35
|
|
ControlOptions.OriginalWidth = 75
|
|
ControlOptions.ShowBorder = False
|
|
Index = 1
|
|
end
|
|
object dxLayoutItem3: TdxLayoutItem
|
|
Parent = lgGrid
|
|
AlignHorz = ahRight
|
|
CaptionOptions.Text = 'cxButton3'
|
|
CaptionOptions.Visible = False
|
|
Control = btnDelete
|
|
ControlOptions.OriginalHeight = 35
|
|
ControlOptions.OriginalWidth = 75
|
|
ControlOptions.ShowBorder = False
|
|
Index = 2
|
|
end
|
|
object dxLayoutItem4: TdxLayoutItem
|
|
Parent = lgGrid
|
|
AlignHorz = ahRight
|
|
CaptionOptions.Text = 'cxButton4'
|
|
CaptionOptions.Visible = False
|
|
Control = btnCancel
|
|
ControlOptions.OriginalHeight = 35
|
|
ControlOptions.OriginalWidth = 75
|
|
ControlOptions.ShowBorder = False
|
|
Index = 3
|
|
end
|
|
object dxLayoutItem5: TdxLayoutItem
|
|
Parent = lgGrid
|
|
AlignHorz = ahRight
|
|
CaptionOptions.Text = 'cxButton5'
|
|
CaptionOptions.Visible = False
|
|
Control = cxButton5
|
|
ControlOptions.OriginalHeight = 35
|
|
ControlOptions.OriginalWidth = 75
|
|
ControlOptions.ShowBorder = False
|
|
Index = 4
|
|
end
|
|
object dxLayoutItem6: TdxLayoutItem
|
|
Parent = lgToolbar
|
|
CaptionOptions.Text = 'cxGrid1'
|
|
CaptionOptions.Visible = False
|
|
Control = grdEmployee
|
|
ControlOptions.OriginalHeight = 449
|
|
ControlOptions.OriginalWidth = 250
|
|
ControlOptions.ShowBorder = False
|
|
Index = 0
|
|
end
|
|
end
|
|
end
|