📄 customers_unit.dfm
字号:
object frmCustomers: TfrmCustomers
Left = 259
Top = 214
BorderStyle = bsDialog
Caption = #23458#25143#36164#26009
ClientHeight = 259
ClientWidth = 508
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 = 508
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 = 444
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 = 185
Height = 224
Align = alLeft
BevelInner = bvLowered
TabOrder = 1
object DBGrid1: TDBGrid
Left = 2
Top = 2
Width = 181
Height = 220
Align = alClient
DataSource = DM.dsrCustomer
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 = 'CustomerID'
Title.Alignment = taCenter
Title.Caption = #32534#21495
Width = 50
Visible = True
end
item
Alignment = taCenter
Expanded = False
FieldName = 'CustomerDescn'
Title.Alignment = taCenter
Title.Caption = #23458#25143#21517#31216
Width = 80
Visible = True
end>
end
end
object Panel3: TPanel
Left = 185
Top = 35
Width = 323
Height = 224
Align = alClient
BevelInner = bvLowered
TabOrder = 2
object Label1: TLabel
Left = 8
Top = 18
Width = 60
Height = 12
Caption = #32534' '#21495#65306
end
object Label2: TLabel
Left = 8
Top = 45
Width = 60
Height = 12
Caption = #23458#25143#21517#31216#65306
end
object Label3: TLabel
Left = 163
Top = 76
Width = 60
Height = 12
Caption = #25152#23646#34892#19994#65306
end
object Label4: TLabel
Left = 8
Top = 76
Width = 60
Height = 12
Caption = #25152#23646#22320#21306#65306
end
object Label5: TLabel
Left = 8
Top = 108
Width = 60
Height = 12
Caption = #32852#31995#26041#24335#65306
end
object Label6: TLabel
Left = 163
Top = 108
Width = 60
Height = 12
Caption = #32852#31995#30005#35805#65306
end
object Label7: TLabel
Left = 8
Top = 139
Width = 60
Height = 12
Caption = #32852#31995#22320#22336#65306
end
object DBText1: TDBText
Left = 69
Top = 16
Width = 236
Height = 17
DataField = 'CustomerID'
DataSource = DM.dsrCustomer
end
object DBEdit1: TDBEdit
Left = 69
Top = 41
Width = 245
Height = 20
DataField = 'CustomerDescn'
DataSource = DM.dsrCustomer
TabOrder = 0
end
object DBEdit2: TDBEdit
Left = 69
Top = 104
Width = 90
Height = 20
DataField = 'Contact'
DataSource = DM.dsrCustomer
TabOrder = 1
end
object DBEdit3: TDBEdit
Left = 224
Top = 104
Width = 90
Height = 20
DataField = 'ContactTel'
DataSource = DM.dsrCustomer
TabOrder = 2
end
object DBEdit4: TDBEdit
Left = 69
Top = 135
Width = 245
Height = 20
DataField = 'ContactAddress'
DataSource = DM.dsrCustomer
TabOrder = 3
end
object DBLookupComboBox1: TDBLookupComboBox
Left = 69
Top = 72
Width = 90
Height = 20
DataField = 'AreaType'
DataSource = DM.dsrCustomer
DropDownRows = 10
DropDownWidth = 150
KeyField = 'AreaCode'
ListField = 'AreaCode;AreaDescn'
ListSource = DM.dsrAreaType
TabOrder = 4
end
object DBLookupComboBox2: TDBLookupComboBox
Left = 224
Top = 72
Width = 90
Height = 20
DataField = 'CallingType'
DataSource = DM.dsrCustomer
DropDownRows = 10
DropDownWidth = 150
KeyField = 'CallingCode'
ListField = 'CallingCode;CallingDescn'
ListSource = DM.dsrCallingType
TabOrder = 5
end
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -