一个用Delphi开发的ERP软件
源代码在线查看: cwa170_01.dfm.svn-base
inherited Cwa170_01Form: TCwa170_01Form
Left = 175
Top = 113
BorderIcons = [biSystemMenu]
BorderStyle = bsSingle
Caption = #34218#36164#26399#27573#32500#25252
ClientHeight = 395
ClientWidth = 605
OldCreateOrder = True
PixelsPerInch = 96
TextHeight = 12
object CoolBar1: TCoolBar [0]
Left = 0
Top = 0
Width = 605
Height = 43
AutoSize = True
Bands = <
item
Control = ToolBar2
ImageIndex = -1
MinHeight = 39
Width = 601
end>
object ToolBar2: TToolBar
Left = 9
Top = 0
Width = 588
Height = 39
AutoSize = True
ButtonHeight = 39
ButtonWidth = 31
Caption = 'ToolBar2'
EdgeBorders = []
Flat = True
Images = SYSDM.imgBtn
ParentShowHint = False
ShowCaptions = True
ShowHint = True
TabOrder = 0
object tlbFirst: TToolButton
Left = 0
Top = 0
Action = ActFirst
AutoSize = True
end
object tlbPrior: TToolButton
Left = 35
Top = 0
Action = ActPrior
AutoSize = True
end
object tlbNext: TToolButton
Left = 70
Top = 0
Action = ActNext
AutoSize = True
end
object tlbLast: TToolButton
Left = 105
Top = 0
Action = ActLast
AutoSize = True
end
object ToolButton1: TToolButton
Left = 140
Top = 0
Width = 8
Caption = 'ToolButton1'
ImageIndex = 13
Style = tbsSeparator
end
object tlbLocate: TToolButton
Left = 148
Top = 0
Action = ActLocate
AutoSize = True
end
object ToolButton5: TToolButton
Left = 183
Top = 0
Action = ActSearch
AutoSize = True
end
object tlbPrint: TToolButton
Left = 218
Top = 0
Action = ActPrint
AutoSize = True
DropdownMenu = PopupMenu1
Style = tbsDropDown
end
object ToolButton6: TToolButton
Left = 266
Top = 0
Width = 8
Caption = 'ToolButton6'
ImageIndex = 16
Style = tbsSeparator
end
object ToolButton2: TToolButton
Left = 274
Top = 0
Action = ActSet
AutoSize = True
end
object ToolButton3: TToolButton
Left = 309
Top = 0
Width = 8
Caption = 'ToolButton3'
ImageIndex = 16
Style = tbsSeparator
end
object tlbExit: TToolButton
Left = 317
Top = 0
Action = ActExit
AutoSize = True
end
end
end
object Panel1: TPanel [1]
Left = 0
Top = 43
Width = 605
Height = 37
Align = alTop
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 1
object Image1: TImage
Left = 2
Top = 2
Width = 601
Height = 33
Align = alClient
Stretch = True
end
end
object ScrollBox1: TScrollBox [2]
Left = 0
Top = 80
Width = 605
Height = 315
Align = alClient
TabOrder = 2
object dxDBGrid1: TdxDBGrid
Left = 0
Top = 0
Width = 601
Height = 311
Bands = <
item
end>
DefaultLayout = True
HeaderPanelRowCount = 1
SummaryGroups =
SummarySeparator = ', '
Align = alClient
BorderStyle = bsNone
TabOrder = 0
DataSource = dsCwa170
Filter.Criteria = {00000000}
HeaderColor = 15262169
HideFocusRect = True
LookAndFeel = lfUltraFlat
OptionsDB = [edgoCancelOnExit, edgoCanNavigation, edgoConfirmDelete, edgoUseBookmarks]
OptionsView = [edgoBandHeaderWidth, edgoIndicator, edgoUseBitmap]
object dxDBGrid1C170_001: TdxDBGridMaskColumn
DisableEditor = True
HeaderAlignment = taCenter
Width = 47
BandIndex = 0
RowIndex = 0
FieldName = 'C170_001'
end
object dxDBGrid1C170_002: TdxDBGridMaskColumn
DisableEditor = True
HeaderAlignment = taCenter
Width = 47
BandIndex = 0
RowIndex = 0
FieldName = 'C170_002'
end
object dxDBGrid1C170_003: TdxDBGridColumn
DisableEditor = True
HeaderAlignment = taCenter
Width = 96
BandIndex = 0
RowIndex = 0
FieldName = 'C170_003'
end
object dxDBGrid1C170_004: TdxDBGridDateColumn
DisableEditor = True
HeaderAlignment = taCenter
Width = 95
BandIndex = 0
RowIndex = 0
FieldName = 'C170_004'
end
object dxDBGrid1C170_005: TdxDBGridDateColumn
DisableEditor = True
HeaderAlignment = taCenter
Width = 99
BandIndex = 0
RowIndex = 0
FieldName = 'C170_005'
end
object dxDBGrid1C170_006: TdxDBGridColumn
DisableEditor = True
HeaderAlignment = taCenter
Width = 165
BandIndex = 0
RowIndex = 0
FieldName = 'C170_006'
end
end
end
object PopupMenu1: TPopupMenu
Left = 432
Top = 40
object mmiPrint: TMenuItem
Action = ActPrint
end
object mmiExport: TMenuItem
Action = ActExport
end
end
object dsCwa170: TDataSource
DataSet = qryCwa170
Left = 56
Top = 136
end
object qryCwa170: TADOQuery
CacheSize = 1000
Connection = SYSDM.ADOC
CursorType = ctStatic
Parameters =
SQL.Strings = (
'select * from CWA170 order by C170_001,C170_002')
Left = 40
Top = 152
object qryCwa170C170_001: TIntegerField
DisplayLabel = #24180#20221
FieldName = 'C170_001'
end
object qryCwa170C170_002: TIntegerField
DisplayLabel = #26399#27573
FieldName = 'C170_002'
end
object qryCwa170C170_003: TStringField
DisplayLabel = #26399#27573#35828#26126
FieldName = 'C170_003'
FixedChar = True
Size = 8
end
object qryCwa170C170_004: TDateTimeField
DisplayLabel = #36215#22987#26085#26399
FieldName = 'C170_004'
end
object qryCwa170C170_005: TDateTimeField
DisplayLabel = #32467#26463#26085#26399
FieldName = 'C170_005'
end
object qryCwa170C170_006: TStringField
DisplayLabel = #22791#27880
FieldName = 'C170_006'
Size = 50
end
end
object SaveDialog1: TSaveDialog
Filter = 'Excel'#25991#20214'(*.xls)|*.xls'
Left = 328
Top = 48
end
object ActionList1: TActionList
Images = SYSDM.imgBtn
Left = 384
Top = 48
object ActFirst: TAction
Caption = #26368#21069
Hint = #31227#21040#31532#19968#26465#35760#24405
ImageIndex = 0
ShortCut = 32838
OnExecute = ActFirstExecute
end
object ActPrior: TAction
Caption = #19978#31227
Hint = #31227#21040#19978#19968#26465#35760#24405
ImageIndex = 1
ShortCut = 32848
OnExecute = ActPriorExecute
end
object ActNext: TAction
Caption = #19979#31227
Hint = #31227#21040#19979#19968#26465#35760#24405
ImageIndex = 2
ShortCut = 32846
OnExecute = ActNextExecute
end
object ActLast: TAction
Caption = #26368#21518
Hint = #31227#21040#26368#21518#19968#26465#35760#24405
ImageIndex = 3
ShortCut = 32844
OnExecute = ActLastExecute
end
object ActLocate: TAction
Caption = #26597#25214
Hint = #24555#36895#23450#20301#35760#24405
ImageIndex = 10
ShortCut = 32847
OnExecute = ActLocateExecute
end
object ActSearch: TAction
Caption = #26597#35810
Hint = #25353#26465#20214#26597#35810#25968#25454
ImageIndex = 11
ShortCut = 32849
OnExecute = ActSearchExecute
end
object ActPrint: TAction
Caption = #25171#21360
Hint = #23558#25968#25454#25171#21360#20986#26469
ImageIndex = 12
ShortCut = 32848
OnExecute = ActPrintExecute
end
object ActExport: TAction
Caption = #23548#20986#21040'Excel'
Hint = #23548#20986#21040'Excel'#25991#20214#20013
ShortCut = 32852
OnExecute = ActExportExecute
end
object ActSet: TAction
Caption = #35774#32622
Hint = #35774#32622#24037#20316#26085#21382
ImageIndex = 17
OnExecute = ActSetExecute
end
object ActExit: TAction
Caption = #36864#20986
Hint = #20851#38381#24403#21069#31383#21475
ImageIndex = 15
ShortCut = 32856
OnExecute = ActExitExecute
end
end
end