📄 unit1.dfm
字号:
object Form1: TForm1
Left = 192
Top = 107
Width = 414
Height = 262
Caption = 'Form1'
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 DBGrid1: TDBGrid
Left = 8
Top = 8
Width = 385
Height = 177
DataSource = DataSource1
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
end
object Button1: TButton
Left = 16
Top = 200
Width = 49
Height = 25
Caption = #26597#35810
TabOrder = 1
OnClick = Button1Click
end
object Button2: TButton
Left = 80
Top = 200
Width = 49
Height = 25
Caption = #25552#20132
TabOrder = 2
OnClick = Button2Click
end
object DataSource1: TDataSource
DataSet = Query1
Left = 24
Top = 88
end
object Query1: TQuery
CachedUpdates = True
OnUpdateRecord = Query1UpdateRecord
DatabaseName = 'DBDEMOS'
SQL.Strings = (
'SELECT Student.Number, Student.Name, Student.Class, Result.Lesso' +
'nName, Result.Score'
'FROM "Student.DB" Student'
' INNER JOIN "Result.DB" Result'
' ON (Student.Number = Result.Number) ')
UpdateObject = UpdateSQL1
Left = 64
Top = 88
end
object UpdateSQL1: TUpdateSQL
ModifySQL.Strings = (
'update "Result.db"'
'set'
' Score = :Score'
'where'
' LessonName = :OLD_LessonName and'
' Number = :OLD_Number')
Left = 104
Top = 88
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -