📄 counter.dfm
字号:
inherited f_counter: Tf_counter
Left = 313
Top = 220
Caption = #26588#21488#20449#24687#31649#29702
ClientHeight = 284
ClientWidth = 443
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 142
Top = 7
Width = 160
Height = 23
AutoSize = False
Caption = #26588#21488#20449#24687#31649#29702
Font.Charset = GB2312_CHARSET
Font.Color = clRed
Font.Height = -24
Font.Name = #26999#20307'_GB2312'
Font.Style = [fsBold]
ParentFont = False
end
object Panel1: TPanel
Left = 0
Top = 43
Width = 443
Height = 46
Align = alBottom
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 0
object Label2: TLabel
Left = 35
Top = 15
Width = 59
Height = 13
Alignment = taRightJustify
AutoSize = False
BiDiMode = bdRightToLeft
Caption = #26588#21488#21517#31216
ParentBiDiMode = False
end
object Label3: TLabel
Left = 226
Top = 16
Width = 63
Height = 13
Alignment = taRightJustify
AutoSize = False
BiDiMode = bdRightToLeft
Caption = #20179#24211#31616#30721
ParentBiDiMode = False
end
object Counter: TEdit
Left = 100
Top = 11
Width = 100
Height = 21
TabOrder = 0
OnKeyDown = CounterKeyDown
end
object Shortname: TEdit
Left = 297
Top = 11
Width = 100
Height = 21
TabOrder = 1
end
end
object Panel3: TPanel
Left = 0
Top = 89
Width = 443
Height = 41
Align = alBottom
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 1
object Add: TButton
Left = 37
Top = 9
Width = 75
Height = 22
Caption = #28155#21152
TabOrder = 0
OnClick = AddClick
end
object Update: TButton
Left = 132
Top = 9
Width = 75
Height = 22
Caption = #20462#25913
TabOrder = 1
OnClick = UpdateClick
end
object Delete: TButton
Left = 227
Top = 9
Width = 75
Height = 22
Caption = #21024#38500
TabOrder = 2
OnClick = DeleteClick
end
object Cancel: TButton
Left = 322
Top = 9
Width = 75
Height = 22
Caption = #21462#28040
TabOrder = 3
OnClick = CancelClick
end
end
object Grid1: TDBGrid
Left = 0
Top = 130
Width = 443
Height = 113
Align = alBottom
DataSource = Source1
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
ReadOnly = True
TabOrder = 2
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
OnCellClick = Grid1CellClick
Columns = <
item
Expanded = False
FieldName = 'counter'
Title.Caption = #26588#21488#21517#31216
Width = 96
Visible = True
end
item
Expanded = False
FieldName = 'shortname'
Title.Caption = #26588#21488#31616#30721
Width = 95
Visible = True
end>
end
object Panel2: TPanel
Left = 0
Top = 243
Width = 443
Height = 41
Align = alBottom
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 3
object Label6: TLabel
Left = 29
Top = 14
Width = 65
Height = 13
Alignment = taRightJustify
AutoSize = False
BiDiMode = bdRightToLeft
Caption = #26597#35810#26465#20214
ParentBiDiMode = False
end
object Label7: TLabel
Left = 203
Top = 13
Width = 6
Height = 13
Caption = '='
end
object Field: TComboBox
Left = 99
Top = 9
Width = 100
Height = 22
Style = csOwnerDrawFixed
ItemHeight = 16
TabOrder = 0
Items.Strings = (
#26588#21488#21517#31216
#26588#21488#31616#30721)
end
object Value: TEdit
Left = 216
Top = 9
Width = 100
Height = 21
TabOrder = 1
end
object Query: TButton
Left = 324
Top = 9
Width = 75
Height = 22
Caption = #26597#35810
TabOrder = 2
OnClick = QueryClick
end
end
object Source1: TDataSource
Left = 48
Top = 208
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -