📄 unit1.dfm
字号:
object Form1: TForm1
Left = 193
Top = 114
Width = 580
Height = 472
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 Label1: TLabel
Left = 24
Top = 272
Width = 337
Height = 16
AutoSize = False
Caption = #20174#34920#20013#26174#31034#30340#20869#23481#30001#20027#34920#20013#30340'CustNO'#23383#27573#25511#21046
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 24
Top = 16
Width = 73
Height = 17
AutoSize = False
Caption = #20027#34920
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object DBGrid1: TDBGrid
Left = 16
Top = 40
Width = 545
Height = 217
DataSource = DataSource1
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
end
object DBGrid2: TDBGrid
Left = 16
Top = 296
Width = 545
Height = 137
DataSource = DataSource2
TabOrder = 1
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
end
object ADOConnection1: TADOConnection
Connected = True
ConnectionString =
'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Co' +
'mmon Files\Borland Shared\Data\dbdemos.mdb;Persist Security Info' +
'=False'
Mode = cmShareDenyNone
Provider = 'Microsoft.Jet.OLEDB.4.0'
Left = 384
Top = 8
end
object ADODataSet1: TADODataSet
Active = True
Connection = ADOConnection1
CursorType = ctStatic
CommandText = 'customer'
CommandType = cmdTable
Parameters = <>
Left = 416
Top = 8
end
object DataSource1: TDataSource
DataSet = ADODataSet1
Left = 448
Top = 8
end
object ADODataSet2: TADODataSet
Active = True
Connection = ADOConnection1
CursorType = ctStatic
CommandText = 'select * from orders where CustNo=:CustNo'
DataSource = DataSource1
MasterFields = 'CustNo'
Parameters = <
item
Name = 'CustNo'
Attributes = [paNullable]
DataType = ftFloat
NumericScale = 255
Precision = 255
Value = 1221.000000000000000000
end>
Left = 480
Top = 8
end
object DataSource2: TDataSource
DataSet = ADODataSet2
Left = 512
Top = 8
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -