📄 booksell.dfm
字号:
inherited f_booksell: Tf_booksell
Left = 194
Top = 187
Caption = #22270#20070#38144#21806#31649#29702
ClientHeight = 394
ClientWidth = 713
KeyPreview = False
OldCreateOrder = True
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 278
Top = 7
Width = 157
Height = 23
AutoSize = False
Caption = #22270#20070#38144#21806#31649#29702
Font.Charset = GB2312_CHARSET
Font.Color = clRed
Font.Height = -24
Font.Name = #26999#20307'_GB2312'
Font.Style = [fsBold]
ParentFont = False
end
object Panel2: TPanel
Left = 0
Top = 92
Width = 713
Height = 65
Align = alBottom
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 1
OnEnter = CounterEnter
object Label6: TLabel
Left = 13
Top = 12
Width = 70
Height = 13
Alignment = taRightJustify
AutoSize = False
BiDiMode = bdRightToLeft
Caption = #26465#24418#30721
ParentBiDiMode = False
end
object Label7: TLabel
Left = 263
Top = 38
Width = 51
Height = 13
Alignment = taRightJustify
AutoSize = False
BiDiMode = bdRightToLeft
Caption = #21806#20215
ParentBiDiMode = False
end
object Label8: TLabel
Left = 528
Top = 40
Width = 36
Height = 13
Alignment = taRightJustify
AutoSize = False
BiDiMode = bdRightToLeft
Caption = #37329#39069
ParentBiDiMode = False
end
object Label10: TLabel
Left = 13
Top = 39
Width = 70
Height = 13
Alignment = taRightJustify
AutoSize = False
BiDiMode = bdRightToLeft
Caption = #20070#31821#21517#31216
ParentBiDiMode = False
end
object Label11: TLabel
Left = 270
Top = 13
Width = 45
Height = 13
Alignment = taRightJustify
AutoSize = False
BiDiMode = bdRightToLeft
Caption = #20316#32773
ParentBiDiMode = False
end
object Label13: TLabel
Left = 499
Top = 13
Width = 65
Height = 13
Alignment = taRightJustify
AutoSize = False
BiDiMode = bdRightToLeft
Caption = #25968#37327
ParentBiDiMode = False
end
object Barcode: TEdit
Left = 91
Top = 8
Width = 100
Height = 21
TabOrder = 0
OnEnter = CounterEnter
OnKeyDown = BarcodeKeyDown
OnKeyPress = BarcodeKeyPress
end
object price: TEdit
Left = 324
Top = 35
Width = 100
Height = 21
TabOrder = 2
OnChange = priceChange
OnEnter = CounterEnter
OnKeyDown = BarcodeKeyDown
OnKeyPress = priceKeyPress
end
object Money: TEdit
Left = 573
Top = 36
Width = 100
Height = 21
Enabled = False
TabOrder = 4
OnEnter = CounterEnter
OnKeyDown = BarcodeKeyDown
end
object Bookname: TEdit
Left = 91
Top = 35
Width = 100
Height = 21
TabOrder = 1
OnChange = BooknameChange
OnEnter = CounterEnter
OnKeyDown = BarcodeKeyDown
OnKeyPress = BooknameKeyPress
end
object Sum: TEdit
Left = 573
Top = 9
Width = 100
Height = 21
TabOrder = 3
OnChange = priceChange
OnEnter = CounterEnter
OnKeyDown = BarcodeKeyDown
OnKeyPress = priceKeyPress
end
object Author: TEdit
Left = 324
Top = 9
Width = 100
Height = 21
Enabled = False
TabOrder = 5
OnEnter = CounterEnter
OnKeyDown = BarcodeKeyDown
end
end
object Panel3: TPanel
Left = 0
Top = 352
Width = 713
Height = 42
Align = alBottom
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 2
object Label3: TLabel
Left = 10
Top = 15
Width = 37
Height = 13
Alignment = taRightJustify
AutoSize = False
Caption = #25240#25187
end
object Label5: TLabel
Left = 102
Top = 15
Width = 37
Height = 13
Alignment = taRightJustify
AutoSize = False
Caption = #24635#35745
end
object aaa: TLabel
Left = 191
Top = 15
Width = 68
Height = 13
Alignment = taRightJustify
AutoSize = False
Caption = #24212#20184#37329#39069
end
object Label12: TLabel
Left = 313
Top = 15
Width = 65
Height = 13
Alignment = taRightJustify
AutoSize = False
Caption = #23454#20184#37329#39069
end
object Label14: TLabel
Left = 437
Top = 15
Width = 37
Height = 13
Alignment = taRightJustify
AutoSize = False
Caption = #25214#38646
end
object Save: TButton
Left = 548
Top = 9
Width = 67
Height = 22
Caption = #20445#23384
TabOrder = 0
OnClick = SaveClick
OnEnter = CounterEnter
end
object Cancel: TButton
Left = 625
Top = 9
Width = 67
Height = 22
Caption = #21462#28040
TabOrder = 1
OnClick = CancelClick
OnEnter = CounterEnter
end
object Rebate: TEdit
Left = 52
Top = 10
Width = 50
Height = 21
TabOrder = 2
Text = '1.0'
OnChange = RebateChange
OnEnter = CounterEnter
OnExit = RebateExit
OnKeyPress = priceKeyPress
end
object sumprice: TEdit
Left = 144
Top = 10
Width = 50
Height = 21
Enabled = False
TabOrder = 3
OnChange = RebateChange
OnEnter = CounterEnter
end
object Paymoney: TEdit
Left = 263
Top = 10
Width = 50
Height = 21
Enabled = False
TabOrder = 4
OnChange = PaymoneyChange
OnEnter = CounterEnter
OnKeyPress = priceKeyPress
end
object Factmoney: TEdit
Left = 384
Top = 10
Width = 50
Height = 21
TabOrder = 5
OnChange = PaymoneyChange
OnEnter = CounterEnter
OnKeyPress = priceKeyPress
end
object Change: TEdit
Left = 479
Top = 10
Width = 50
Height = 21
Enabled = False
TabOrder = 6
OnEnter = CounterEnter
end
end
object Panel1: TPanel
Left = 0
Top = 52
Width = 713
Height = 40
Align = alBottom
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 0
OnEnter = CounterEnter
object Label2: TLabel
Left = 15
Top = 13
Width = 70
Height = 13
Alignment = taRightJustify
AutoSize = False
BiDiMode = bdRightToLeft
Caption = #26588#21488#21517#31216
ParentBiDiMode = False
end
object Label4: TLabel
Left = 261
Top = 13
Width = 55
Height = 14
Alignment = taRightJustify
AutoSize = False
BiDiMode = bdRightToLeft
Caption = #25805#20316#21592
ParentBiDiMode = False
end
object Label9: TLabel
Left = 519
Top = 13
Width = 45
Height = 13
Alignment = taRightJustify
AutoSize = False
BiDiMode = bdRightToLeft
Caption = #26102#38388
ParentBiDiMode = False
end
object Operator: TEdit
Left = 325
Top = 9
Width = 100
Height = 21
Enabled = False
TabOrder = 1
OnEnter = CounterEnter
OnKeyDown = CounterKeyDown
end
object Counter: TComboBox
Left = 91
Top = 9
Width = 100
Height = 21
ItemHeight = 13
TabOrder = 0
OnEnter = CounterEnter
OnKeyDown = CounterKeyDown
end
object Picker: TDateTimePicker
Left = 574
Top = 9
Width = 100
Height = 21
Date = 38492.469445694440000000
Time = 38492.469445694440000000
TabOrder = 2
OnEnter = CounterEnter
OnKeyDown = PickerKeyDown
end
end
object Grid: TStringGrid
Left = 0
Top = 157
Width = 713
Height = 195
Align = alBottom
ColCount = 6
Ctl3D = True
DefaultRowHeight = 18
FixedCols = 0
RowCount = 2
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goRowSelect]
ParentCtl3D = False
TabOrder = 3
OnEnter = CounterEnter
OnKeyDown = GridKeyDown
OnSelectCell = GridSelectCell
ColWidths = (
137
128
102
114
87
97)
end
object Grid1: TDBGrid
Left = 91
Top = 148
Width = 447
Height = 122
DataSource = Source1
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
ReadOnly = True
TabOrder = 4
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
Visible = False
OnDblClick = Grid1DblClick
OnExit = Grid1Exit
OnKeyDown = Grid1KeyDown
Columns = <
item
Expanded = False
FieldName = 'bookname'
Title.Caption = #20070#31821#21517#31216
Width = 108
Visible = True
end
item
Expanded = False
FieldName = 'barcode'
Title.Caption = #26465#24418#30721
Width = 91
Visible = True
end
item
Expanded = False
FieldName = 'bookconcern'
Title.Caption = #20986#29256#31038
Width = 75
Visible = True
end
item
Expanded = False
FieldName = 'author'
Title.Caption = #20316#32773
Width = 71
Visible = True
end
item
Expanded = False
FieldName = 'sellprice'
Title.Caption = #21806#20215
Width = 52
Visible = True
end>
end
object Source1: TDataSource
Left = 40
Top = 224
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -