📄 unit5.dfm
字号:
object chform: Tchform
Left = 224
Top = 185
Width = 796
Height = 480
Caption = #26597#35810#31383#20307
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 8
Top = 16
Width = 63
Height = 13
Caption = #26597#35810#20381#25454' '
end
object Label2: TLabel
Left = 240
Top = 24
Width = 24
Height = 13
Caption = #20026' '
end
object Button1: TButton
Left = 480
Top = 16
Width = 75
Height = 25
Caption = #26597#35810
TabOrder = 0
OnClick = Button1Click
end
object DBGrid1: TDBGrid
Left = 8
Top = 72
Width = 673
Height = 377
DataSource = DataSource1
TabOrder = 1
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = 'ID'
Title.Caption = #23398#21495
Visible = True
end
item
Expanded = False
FieldName = 'name'
Title.Caption = #22995#21517
Visible = True
end
item
Expanded = False
FieldName = 'class'
Title.Caption = #29677#32423
Visible = True
end
item
Expanded = False
FieldName = 'sex'
Title.Caption = #24615#21035
Visible = True
end
item
Expanded = False
FieldName = 'date'
Title.Caption = #29983#26085
Visible = True
end
item
Expanded = False
FieldName = 'phone'
Title.Caption = #30005#35805
Visible = True
end
item
Expanded = False
FieldName = 'email'
Visible = True
end
item
Expanded = False
FieldName = 'adress'
Title.Caption = #22320#22336
Visible = True
end>
end
object ComboBox1: TComboBox
Left = 80
Top = 16
Width = 145
Height = 21
ItemHeight = 13
TabOrder = 2
Items.Strings = (
'ID'
'class'
'sex'
'date'
'phone')
end
object Edit1: TEdit
Left = 272
Top = 16
Width = 121
Height = 21
TabOrder = 3
end
object Button2: TButton
Left = 576
Top = 16
Width = 75
Height = 25
Caption = #36864#20986
TabOrder = 4
OnClick = Button2Click
end
object ADOQuery1: TADOQuery
Active = True
ConnectionString =
'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\jds4\database\st' +
'udent1.mdb;Persist Security Info=False'
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select * from student ')
Left = 256
Top = 104
end
object DataSource1: TDataSource
DataSet = ADOQuery1
Left = 136
Top = 104
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -