mainform.dfm
来自「C++ BUILDER精彩编程实例集锦(源码)3 第五部分 系统编程 第六部」· DFM 代码 · 共 147 行
DFM
147 行
object Form1: TForm1
Left = 192
Top = 107
Width = 411
Height = 157
BorderIcons = [biSystemMenu, biMinimize]
Caption = #23454#29616#25968#25454#24211#34920#23383#27573#25302#25918#21151#33021
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 8
Top = 40
Width = 28
Height = 13
Caption = 'Name'
FocusControl = DBEdit1
end
object Label2: TLabel
Left = 208
Top = 40
Width = 32
Height = 13
Caption = 'Capital'
FocusControl = DBEdit2
end
object Label3: TLabel
Left = 8
Top = 72
Width = 45
Height = 13
Caption = 'Continent'
FocusControl = DBEdit3
end
object Label4: TLabel
Left = 8
Top = 104
Width = 22
Height = 13
Caption = 'Area'
FocusControl = DBEdit4
end
object Label5: TLabel
Left = 208
Top = 104
Width = 50
Height = 13
Caption = 'Population'
FocusControl = DBEdit5
end
object DBNavigator1: TDBNavigator
Left = 0
Top = 0
Width = 400
Height = 25
DataSource = DataSource1
TabOrder = 0
end
object DBEdit1: TDBEdit
Left = 56
Top = 32
Width = 145
Height = 21
DataField = 'Name'
DataSource = DataSource1
ImeName = #29579#30721#20116#31508#22411#36755#20837#27861'86'#29256
TabOrder = 1
end
object DBEdit2: TDBEdit
Left = 256
Top = 32
Width = 137
Height = 21
DataField = 'Capital'
DataSource = DataSource1
ImeName = #29579#30721#20116#31508#22411#36755#20837#27861'86'#29256
TabOrder = 2
end
object DBEdit3: TDBEdit
Left = 64
Top = 64
Width = 329
Height = 21
DataField = 'Continent'
DataSource = DataSource1
ImeName = #29579#30721#20116#31508#22411#36755#20837#27861'86'#29256
TabOrder = 3
end
object DBEdit4: TDBEdit
Left = 56
Top = 96
Width = 145
Height = 21
DataField = 'Area'
DataSource = DataSource1
ImeName = #29579#30721#20116#31508#22411#36755#20837#27861'86'#29256
TabOrder = 4
end
object DBEdit5: TDBEdit
Left = 264
Top = 96
Width = 129
Height = 21
DataField = 'Population'
DataSource = DataSource1
ImeName = #29579#30721#20116#31508#22411#36755#20837#27861'86'#29256
TabOrder = 5
end
object Table1: TTable
Active = True
DatabaseName = 'BCDEMOS'
TableName = 'country.db'
Left = 24
Top = 8
object Table1Name: TStringField
FieldName = 'Name'
Size = 24
end
object Table1Capital: TStringField
FieldName = 'Capital'
Size = 24
end
object Table1Continent: TStringField
FieldName = 'Continent'
Size = 24
end
object Table1Area: TFloatField
FieldName = 'Area'
end
object Table1Population: TFloatField
FieldName = 'Population'
end
end
object DataSource1: TDataSource
DataSet = Table1
Left = 64
Top = 8
end
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?