📄 carinfo_unit.dfm
字号:
object frmCarInfo: TfrmCarInfo
Left = 289
Top = 259
BorderStyle = bsDialog
Caption = #36710#36742#30331#35760#32500#25252
ClientHeight = 249
ClientWidth = 434
Color = clBtnFace
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 12
object Panel1: TPanel
Left = 0
Top = 0
Width = 434
Height = 35
Align = alTop
BevelInner = bvLowered
TabOrder = 0
object btnAdd: TSpeedButton
Left = 3
Top = 3
Width = 50
Height = 30
Caption = #28155#21152
Flat = True
OnClick = btnAddClick
end
object btnModfiy: TSpeedButton
Left = 55
Top = 3
Width = 50
Height = 30
Caption = #20462#25913
Flat = True
OnClick = btnModfiyClick
end
object btnDel: TSpeedButton
Left = 108
Top = 3
Width = 50
Height = 30
Caption = #21024#38500
Flat = True
OnClick = btnDelClick
end
object btnCancel: TSpeedButton
Left = 162
Top = 3
Width = 50
Height = 30
Caption = #21462#28040
Flat = True
OnClick = btnCancelClick
end
object btnSave: TSpeedButton
Left = 215
Top = 3
Width = 50
Height = 30
Caption = #20445#23384
Flat = True
OnClick = btnSaveClick
end
object btnClosed: TSpeedButton
Left = 375
Top = 3
Width = 50
Height = 30
Caption = #20851#38381
Flat = True
OnClick = btnClosedClick
end
object btnFind: TSpeedButton
Left = 268
Top = 3
Width = 50
Height = 30
Caption = #26597#35810
Flat = True
OnClick = btnFindClick
end
object btnRefresh: TSpeedButton
Left = 321
Top = 3
Width = 50
Height = 30
Caption = #21047#26032
Flat = True
OnClick = btnRefreshClick
end
end
object Panel2: TPanel
Left = 0
Top = 35
Width = 201
Height = 214
Align = alLeft
BevelInner = bvLowered
TabOrder = 1
object DBGrid1: TDBGrid
Left = 2
Top = 2
Width = 197
Height = 210
Align = alClient
DataSource = DM.dsrCar
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
TabOrder = 0
TitleFont.Charset = ANSI_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -12
TitleFont.Name = #23435#20307
TitleFont.Style = []
Columns = <
item
Alignment = taCenter
Expanded = False
FieldName = 'CarNumber'
Title.Alignment = taCenter
Title.Caption = #32534#21495
Width = 80
Visible = True
end
item
Alignment = taCenter
Expanded = False
FieldName = 'Driver'
Title.Alignment = taCenter
Title.Caption = #22995#21517
Width = 80
Visible = True
end>
end
end
object Panel3: TPanel
Left = 201
Top = 35
Width = 233
Height = 214
Align = alClient
BevelInner = bvLowered
TabOrder = 2
object Label1: TLabel
Left = 10
Top = 24
Width = 60
Height = 12
Caption = #36710#29260#21495#30721#65306
end
object Label2: TLabel
Left = 10
Top = 54
Width = 60
Height = 12
Caption = #36710#36742#31867#22411#65306
end
object Label3: TLabel
Left = 10
Top = 83
Width = 60
Height = 12
Caption = #21496#26426#22995#21517#65306
end
object Label4: TLabel
Left = 10
Top = 112
Width = 60
Height = 12
Caption = #20445#38505#31867#22411#65306
end
object Label5: TLabel
Left = 10
Top = 144
Width = 60
Height = 12
Caption = #36710#36742#29366#24577#65306
end
object DBEdit1: TDBEdit
Left = 72
Top = 20
Width = 150
Height = 20
DataField = 'CarNumber'
DataSource = DM.dsrCar
TabOrder = 0
end
object DBLookupComboBox1: TDBLookupComboBox
Left = 72
Top = 50
Width = 150
Height = 20
DataField = 'CarType'
DataSource = DM.dsrCar
DropDownRows = 10
DropDownWidth = 150
KeyField = 'CarType'
ListField = 'CarType;CarDescn'
ListSource = DM.dsrCarType
TabOrder = 1
end
object DBLookupComboBox2: TDBLookupComboBox
Left = 72
Top = 108
Width = 150
Height = 20
DataField = 'InsuranceType'
DataSource = DM.dsrCar
DropDownRows = 10
DropDownWidth = 150
KeyField = 'InsuranceCode'
ListField = 'InsuranceCode;InsuranceDescn'
ListSource = DM.dsrInsuranceType
TabOrder = 2
end
object DBEdit2: TDBEdit
Left = 72
Top = 79
Width = 150
Height = 20
DataField = 'Driver'
DataSource = DM.dsrCar
TabOrder = 3
end
object DBComboBox1: TDBComboBox
Left = 72
Top = 140
Width = 150
Height = 20
DataField = 'Status'
DataSource = DM.dsrCar
ItemHeight = 12
TabOrder = 4
end
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -