📄 umain.dfm
字号:
object Form1: TForm1
Left = 267
Top = 176
Width = 478
Height = 335
BorderIcons = [biSystemMenu, biMinimize]
Caption = 'Package Demo'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
OnCreate = FormCreate
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 13
object btGetForm: TButton
Left = 16
Top = 48
Width = 121
Height = 25
Caption = 'Get Form'
TabOrder = 1
OnClick = btGetFormClick
end
object Memo1: TMemo
Left = 152
Top = 48
Width = 257
Height = 33
BorderStyle = bsNone
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clTeal
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
Lines.Strings = (
'Load a form from a package dynamic')
ParentFont = False
TabOrder = 3
end
object btGetConnection: TButton
Left = 16
Top = 88
Width = 121
Height = 25
Caption = 'Get ADOConnection'
TabOrder = 2
OnClick = btGetConnectionClick
end
object Memo2: TMemo
Left = 152
Top = 88
Width = 297
Height = 46
BorderStyle = bsNone
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clTeal
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
Lines.Strings = (
'Get a TADOConnection instance from package.'
'Datasource: SQL Server; Server Name: localhost,'
'User Name: sa, Password: [null]')
ParentFont = False
TabOrder = 4
end
object btGetClass: TButton
Left = 16
Top = 8
Width = 121
Height = 25
Caption = 'Get Class'
TabOrder = 0
OnClick = btGetClassClick
end
object Memo3: TMemo
Left = 152
Top = 8
Width = 257
Height = 33
BorderStyle = bsNone
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clTeal
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
Lines.Strings = (
'Get a class from package. But note that the CLASS '
'must inherit from TComponent.')
ParentFont = False
TabOrder = 5
end
object DBGrid1: TDBGrid
Left = 8
Top = 152
Width = 457
Height = 145
DataSource = DataSource1
TabOrder = 6
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
end
object ADOQuery1: TADOQuery
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select top 10 * from customers')
Left = 104
Top = 208
end
object DataSource1: TDataSource
DataSet = ADOQuery1
Left = 136
Top = 208
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -