home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Programming Unleashed
/
Delphi_Programming_Unleashed_SAMS_Publishing_1995.iso
/
chap01
/
twoquery
/
main.txt
< prev
next >
Wrap
Text File
|
1995-03-20
|
8KB
|
345 lines
object Form1: TForm1
Left = 231
Top = 60
ActiveControl = Panel1
AutoScroll = False
Caption = 'Two Query'
ClientHeight = 398
ClientWidth = 393
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
PixelsPerInch = 96
Position = poScreenCenter
OnCreate = FormCreate
TextHeight = 13
object Panel1: TPanel
Left = 0
Top = 0
Width = 393
Height = 41
Align = alTop
TabOrder = 0
object DBNavigator: TDBNavigator
Left = 8
Top = 8
Width = 241
Height = 25
DataSource = DataSource1
Ctl3D = False
ParentCtl3D = False
TabOrder = 0
end
end
object Panel2: TPanel
Left = 0
Top = 41
Width = 393
Height = 176
Align = alTop
BevelInner = bvLowered
BorderWidth = 4
Caption = 'Panel2'
TabOrder = 1
object ScrollBox: TScrollBox
Left = 6
Top = 6
Width = 381
Height = 164
HorzScrollBar.Margin = 6
HorzScrollBar.Range = 330
VertScrollBar.Margin = 6
VertScrollBar.Range = 198
Align = alClient
AutoScroll = False
BorderStyle = bsNone
TabOrder = 0
object Label1: TLabel
Left = 6
Top = 6
Width = 35
Height = 13
Caption = 'CustNo'
FocusControl = EditCustNo
end
object Label2: TLabel
Left = 62
Top = 6
Width = 44
Height = 13
Caption = 'Company'
FocusControl = EditCompany
end
object Label3: TLabel
Left = 6
Top = 44
Width = 28
Height = 13
Caption = 'Addr1'
FocusControl = EditAddr
end
object Label4: TLabel
Left = 162
Top = 44
Width = 28
Height = 13
Caption = 'Addr2'
FocusControl = EditAddr2
end
object Label5: TLabel
Left = 6
Top = 82
Width = 17
Height = 13
Caption = 'City'
FocusControl = EditCity
end
object Label6: TLabel
Left = 87
Top = 82
Width = 25
Height = 13
Caption = 'State'
FocusControl = EditState
end
object Label7: TLabel
Left = 193
Top = 82
Width = 15
Height = 13
Caption = 'Zip'
FocusControl = EditZip
end
object Label8: TLabel
Left = 6
Top = 120
Width = 36
Height = 13
Caption = 'Country'
FocusControl = EditCountry
end
object Label9: TLabel
Left = 112
Top = 120
Width = 31
Height = 13
Caption = 'Phone'
FocusControl = EditPhone
end
object Label10: TLabel
Left = 193
Top = 120
Width = 20
Height = 13
Caption = 'FAX'
FocusControl = EditFAX
end
object Label11: TLabel
Left = 274
Top = 120
Width = 41
Height = 13
Caption = 'TaxRate'
FocusControl = EditTaxRate
end
object Label12: TLabel
Left = 6
Top = 158
Width = 37
Height = 13
Caption = 'Contact'
FocusControl = EditContact
end
object Label13: TLabel
Left = 112
Top = 158
Width = 78
Height = 13
Caption = 'LastInvoiceDate'
FocusControl = EditLastInvoiceDate
end
object EditCustNo: TDBEdit
Left = 6
Top = 21
Width = 50
Height = 19
DataField = 'CustNo'
DataSource = DataSource1
MaxLength = 0
TabOrder = 0
end
object EditCompany: TDBEdit
Left = 62
Top = 21
Width = 150
Height = 19
DataField = 'Company'
DataSource = DataSource1
MaxLength = 0
TabOrder = 1
end
object EditAddr: TDBEdit
Left = 6
Top = 59
Width = 150
Height = 19
DataField = 'Addr1'
DataSource = DataSource1
MaxLength = 0
TabOrder = 2
end
object EditAddr2: TDBEdit
Left = 162
Top = 59
Width = 150
Height = 19
DataField = 'Addr2'
DataSource = DataSource1
MaxLength = 0
TabOrder = 3
end
object EditCity: TDBEdit
Left = 6
Top = 97
Width = 75
Height = 19
DataField = 'City'
DataSource = DataSource1
MaxLength = 0
TabOrder = 4
end
object EditState: TDBEdit
Left = 87
Top = 97
Width = 100
Height = 19
DataField = 'State'
DataSource = DataSource1
MaxLength = 0
TabOrder = 5
end
object EditZip: TDBEdit
Left = 193
Top = 97
Width = 50
Height = 19
DataField = 'Zip'
DataSource = DataSource1
MaxLength = 0
TabOrder = 6
end
object EditCountry: TDBEdit
Left = 6
Top = 135
Width = 100
Height = 19
DataField = 'Country'
DataSource = DataSource1
MaxLength = 0
TabOrder = 7
end
object EditPhone: TDBEdit
Left = 112
Top = 135
Width = 75
Height = 19
DataField = 'Phone'
DataSource = DataSource1
MaxLength = 0
TabOrder = 8
end
object EditFAX: TDBEdit
Left = 193
Top = 135
Width = 75
Height = 19
DataField = 'FAX'
DataSource = DataSource1
MaxLength = 0
TabOrder = 9
end
object EditTaxRate: TDBEdit
Left = 274
Top = 135
Width = 50
Height = 19
DataField = 'TaxRate'
DataSource = DataSource1
MaxLength = 0
TabOrder = 10
end
object EditContact: TDBEdit
Left = 6
Top = 173
Width = 100
Height = 19
DataField = 'Contact'
DataSource = DataSource1
MaxLength = 0
TabOrder = 11
end
object EditLastInvoiceDate: TDBEdit
Left = 112
Top = 173
Width = 50
Height = 19
DataField = 'LastInvoiceDate'
DataSource = DataSource1
MaxLength = 0
TabOrder = 12
end
end
end
object Panel3: TPanel
Left = 0
Top = 217
Width = 393
Height = 181
Align = alClient
BevelInner = bvLowered
BorderWidth = 4
Caption = 'Panel3'
TabOrder = 2
object DBGrid1: TDBGrid
Left = 6
Top = 6
Width = 381
Height = 169
Align = alClient
BorderStyle = bsNone
DataSource = DataSource2
TabOrder = 0
TitleFont.Color = clBlack
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
end
end
object DataSource1: TDataSource
DataSet = Table1
Left = 287
Top = 5
end
object DataSource2: TDataSource
DataSet = Table2
Left = 341
Top = 5
end
object Table1: TTable
DatabaseName = 'DBDEMOS'
TableName = 'customer.db'
Left = 260
Top = 5
end
object Table2: TTable
DatabaseName = 'DBDEMOS'
IndexFieldNames = 'CustNo'
MasterFields = 'CustNo'
MasterSource = DataSource1
TableName = 'orders.db'
Left = 314
Top = 5
end
end