spform.dfm
来自「一个物流公司的物流配送系统」· DFM 代码 · 共 266 行
DFM
266 行
object Frmsp: TFrmsp
Left = 76
Top = 43
Width = 515
Height = 400
Caption = #21830#21697#31649#29702
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poMainFormCenter
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object dg: TDBGrid
Left = 0
Top = 0
Width = 507
Height = 230
Align = alClient
DataSource = ds
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
OnCellClick = dgCellClick
OnDrawColumnCell = dgDrawColumnCell
Columns = <
item
Expanded = False
FieldName = 'spmc'
Title.Alignment = taCenter
Title.Caption = #21830#21697#21517#31216
Width = 163
Visible = True
end
item
Expanded = False
FieldName = 'lxmc'
Title.Alignment = taCenter
Title.Caption = #31867#22411
Width = 114
Visible = True
end
item
Expanded = False
FieldName = 'gg'
Title.Alignment = taCenter
Title.Caption = #35268#26684
Width = 70
Visible = True
end
item
Expanded = False
FieldName = 'dj'
Title.Alignment = taCenter
Title.Caption = #21333#20215
Width = 62
Visible = True
end
item
Expanded = False
FieldName = 'dl'
Title.Alignment = taCenter
Title.Caption = #21333#37327
Width = 78
Visible = True
end>
end
object editPanel: TPanel
Left = 0
Top = 230
Width = 507
Height = 102
Align = alBottom
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 1
object Label5: TLabel
Left = 294
Top = 17
Width = 28
Height = 16
AutoSize = False
Caption = #21333#20215
end
object Label4: TLabel
Left = 22
Top = 70
Width = 33
Height = 16
AutoSize = False
Caption = #35268#26684
end
object Label3: TLabel
Left = 22
Top = 44
Width = 29
Height = 16
AutoSize = False
Caption = #31867#22411
end
object Label2: TLabel
Left = 22
Top = 18
Width = 59
Height = 16
AutoSize = False
Caption = #21830#21697#21517#31216
end
object Label18: TLabel
Left = 295
Top = 47
Width = 32
Height = 13
AutoSize = False
Caption = #21333#37327
end
object djedit: TEdit
Left = 328
Top = 12
Width = 145
Height = 22
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
TabOrder = 3
Text = 'djedit'
OnKeyPress = inputrealKeyPress
end
object ggedit: TEdit
Left = 80
Top = 65
Width = 145
Height = 22
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
TabOrder = 2
Text = 'ggedit'
OnKeyPress = NextFocusKeyPress
end
object spmcedit: TEdit
Left = 80
Top = 13
Width = 145
Height = 22
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
TabOrder = 0
Text = 'spmcedit'
OnKeyPress = NextFocusKeyPress
end
object dledit: TEdit
Left = 328
Top = 40
Width = 145
Height = 22
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
TabOrder = 4
Text = 'dledit'
OnKeyPress = inputrealKeyPress
end
object lxedit: TComboBox
Left = 80
Top = 40
Width = 145
Height = 21
ItemHeight = 13
TabOrder = 1
Text = 'lxedit'
OnEnter = lxeditEnter
OnKeyPress = NextFocusKeyPress
Items.Strings = (
#19987
#20860)
end
end
object btnPanel: TPanel
Left = 0
Top = 332
Width = 507
Height = 41
Align = alBottom
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 2
object addbtn: TButton
Tag = 1
Left = 16
Top = 8
Width = 60
Height = 25
Caption = #28155#21152
Enabled = False
TabOrder = 0
OnClick = addbtnClick
end
object editbtn: TButton
Tag = 2
Left = 120
Top = 8
Width = 60
Height = 25
Caption = #20462#25913
TabOrder = 1
OnClick = editbtnClick
end
object okbtn: TButton
Tag = 4
Left = 328
Top = 8
Width = 60
Height = 25
Caption = #30830#23450
TabOrder = 2
OnClick = okbtnClick
end
object delbtn: TButton
Tag = 3
Left = 224
Top = 8
Width = 60
Height = 25
Caption = #21024#38500
TabOrder = 3
OnClick = delbtnClick
end
object cancelbtn: TButton
Tag = 5
Left = 432
Top = 8
Width = 60
Height = 25
Caption = #21462#28040
TabOrder = 4
OnClick = cancelbtnClick
end
end
object ds: TDataSource
DataSet = DM.cquery
Left = 88
Top = 32
end
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?