home *** CD-ROM | disk | FTP | other *** search
- object frmDemo: TfrmDemo
- Left = 152
- Top = 261
- Width = 628
- Height = 422
- VertScrollBar.Range = 405
- HorzScrollBar.Range = 300
- ActiveControl = DBGrid1
- Caption = 'Params Demo'
- Color = clBackground
- PixelsPerInch = 96
- TextHeight = 13
- TextWidth = 6
- object DBGrid1: TDBGrid
- Left = 0
- Top = 159
- Width = 628
- Height = 263
- Align = alBottom
- DataSource = dsParams
- TabOrder = 0
- TitleFont.Color = clBlack
- TitleFont.Height = 11
- TitleFont.Name = 'MS Shell Dlg'
- TitleFont.Pitch = fpVariable
- TitleFont.Style = []
- TitleFont.Weight = 40
- end
- object edtSearchStr: TEdit
- Left = 96
- Top = 37
- Width = 157
- Height = 21
- TabOrder = 1
- Text = '%a%'
- end
- object Panel2: TPanel
- Left = 2
- Top = 109
- Width = 298
- Height = 33
- Color = clInfoBk
- TabOrder = 2
- object Label3: TLabel
- Left = 1
- Top = 1
- Width = 296
- Height = 31
- Align = alClient
- Caption =
- 'Enter the search string on the editbox above. The '#39'%'#39' char match' +
- 'es any string of zero opr more characters.'
- WordWrap = True
- end
- end
- object btnSearch: TButton
- Left = 4
- Top = 36
- Width = 75
- Height = 25
- Caption = 'Search!'
- TabOrder = 3
- OnClick = btnSearchClick
- end
- object dsParams: TDataSource
- DataSet = cdsParams
- Left = 276
- Top = 4
- end
- object connParams: TSQLConnection
- ConnectionName = 'PGEConnection'
- LoadParamsOnConnect = True
- LoginPrompt = False
- Left = 276
- Top = 44
- end
- object sdsParams: TSQLDataSet
- CommandText = 'select * from pg_type where typname ~~ :typname'
- MaxBlobSize = -1
- Params = <
- item
- DataType = ftString
- Name = 'typname'
- ParamType = ptInput
- end>
- SQLConnection = connParams
- Left = 320
- Top = 5
- end
- object cdsParams: TClientDataSet
- Aggregates = <>
- Params = <>
- ProviderName = 'dpParams'
- Left = 320
- Top = 44
- end
- object dpParams: TDataSetProvider
- DataSet = sdsParams
- Left = 359
- Top = 5
- end
- end
-