home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 May / CMCD0505.ISO / Software / Shareware / Programare / pgedri / Source / Demos / PGEDemo / CLX / Main.xfm < prev    next >
Encoding:
Text File  |  2005-04-01  |  4.9 KB  |  231 lines

  1. object frmDemo: TfrmDemo
  2.   Left = 11
  3.   Top = 45
  4.   Width = 1152
  5.   Height = 815
  6.   VertScrollBar.Range = 136
  7.   HorzScrollBar.Range = 176
  8.   ActiveControl = Grid
  9.   AutoScroll = False
  10.   Caption = 'pgExpress Driver Demo'
  11.   Color = clButton
  12.   Font.Color = clText
  13.   Font.Height = 11
  14.   Font.Name = 'MS Sans Serif'
  15.   Font.Pitch = fpVariable
  16.   Font.Style = []
  17.   Font.Weight = 40
  18.   ParentFont = False
  19.   WindowState = wsMaximized
  20.   OnCreate = FormCreate
  21.   PixelsPerInch = 96
  22.   TextHeight = 13
  23.   TextWidth = 6
  24.   object Label1: TLabel
  25.     Left = 2
  26.     Top = 25
  27.     Width = 31
  28.     Height = 13
  29.     Caption = 'Query:'
  30.     Font.Color = clText
  31.     Font.Height = 3
  32.     Font.Name = 'MS Sans Serif'
  33.     Font.Pitch = fpVariable
  34.     Font.Style = []
  35.     Font.Weight = 40
  36.     ParentFont = False
  37.   end
  38.   object Grid: TDBGrid
  39.     Left = 0
  40.     Top = 238
  41.     Width = 1152
  42.     Height = 558
  43.     Align = alBottom
  44.     Anchors = [akLeft, akTop, akRight, akBottom]
  45.     DataSource = dsDemo
  46.     TabOrder = 0
  47.     TitleFont.Color = clText
  48.     TitleFont.Height = 11
  49.     TitleFont.Name = 'MS Sans Serif'
  50.     TitleFont.Pitch = fpVariable
  51.     TitleFont.Style = []
  52.     TitleFont.Weight = 40
  53.   end
  54.   object btnConnect: TButton
  55.     Left = 1
  56.     Top = 2
  57.     Width = 54
  58.     Height = 22
  59.     Caption = 'Connect!'
  60.     TabOrder = 1
  61.     OnClick = btnConnectClick
  62.   end
  63.   object btnApplyUpdates: TButton
  64.     Left = 2
  65.     Top = 114
  66.     Width = 81
  67.     Height = 21
  68.     Caption = 'Apply Updates'
  69.     Enabled = False
  70.     TabOrder = 2
  71.     OnClick = btnApplyUpdatesClick
  72.   end
  73.   object Memo1: TMemo
  74.     Left = 1
  75.     Top = 40
  76.     Width = 299
  77.     Height = 71
  78.     Lines.Strings = (
  79.       'select * from pg_type;')
  80.     TabOrder = 3
  81.   end
  82.   object btnRun: TButton
  83.     Left = 65
  84.     Top = 2
  85.     Width = 64
  86.     Height = 22
  87.     Caption = 'Run Query'
  88.     Default = True
  89.     TabOrder = 4
  90.     OnClick = btnRunClick
  91.   end
  92.   object StatusBar: TStatusBar
  93.     Left = 0
  94.     Top = 796
  95.     Width = 1152
  96.     Height = 19
  97.     Panels = <
  98.       item
  99.       end>
  100.   end
  101.   object Panel2: TPanel
  102.     Left = 2
  103.     Top = 139
  104.     Width = 298
  105.     Height = 33
  106.     Color = clInfoBk
  107.     TabOrder = 6
  108.     object Label3: TLabel
  109.       Left = 1
  110.       Top = 1
  111.       Width = 296
  112.       Height = 31
  113.       Align = alClient
  114.       Caption = 
  115.         'WARNING: do not edit the pg_type table. It'#39's a PostgreSQL system' +
  116.         ' table and you could damage your database server.'
  117.       WordWrap = True
  118.     end
  119.   end
  120.   object btnCancelUpdates: TButton
  121.     Left = 86
  122.     Top = 114
  123.     Width = 93
  124.     Height = 21
  125.     Caption = 'Cancel Updates'
  126.     Enabled = False
  127.     TabOrder = 8
  128.     OnClick = btnCancelUpdatesClick
  129.   end
  130.   object DBNavigator1: TDBNavigator
  131.     Left = 0
  132.     Top = 211
  133.     Width = 1152
  134.     Height = 27
  135.     DataSource = dsDemo
  136.     Align = alBottom
  137.     TabOrder = 9
  138.   end
  139.   object Panel1: TPanel
  140.     Left = 346
  141.     Top = 138
  142.     Width = 263
  143.     Height = 33
  144.     Color = clInfoBk
  145.     TabOrder = 10
  146.     Visible = False
  147.     object Label2: TLabel
  148.       Left = 1
  149.       Top = 1
  150.       Width = 261
  151.       Height = 31
  152.       Align = alClient
  153.       Caption = 
  154.         'Please configure the connDemo component to your real server, or ' +
  155.         'add a new connection of your own.'
  156.       WordWrap = True
  157.     end
  158.   end
  159.   object SQLLog: TMemo
  160.     Left = 305
  161.     Top = 40
  162.     Width = 845
  163.     Height = 161
  164.     Anchors = [akLeft, akTop, akRight]
  165.     ScrollBars = ssAutoVertical
  166.     TabOrder = 11
  167.   end
  168.   object Label4: TLabel
  169.     Left = 306
  170.     Top = 25
  171.     Width = 45
  172.     Height = 13
  173.     Caption = 'SQL Log:'
  174.     Font.Color = clText
  175.     Font.Height = 3
  176.     Font.Name = 'MS Sans Serif'
  177.     Font.Pitch = fpVariable
  178.     Font.Style = []
  179.     Font.Weight = 40
  180.     ParentFont = False
  181.   end
  182.   object dsDemo: TDataSource
  183.     DataSet = cdsDemo
  184.     OnStateChange = dsDemoUpdateData
  185.     OnUpdateData = dsDemoUpdateData
  186.     Left = 316
  187.     Top = 396
  188.   end
  189.   object SQLMonitor: TSQLMonitor
  190.     OnLogTrace = SQLMonitorLogTrace
  191.     SQLConnection = connDemo
  192.     Left = 367
  193.     Top = 352
  194.   end
  195.   object connDemo: TSQLConnection
  196.     ConnectionName = 'PGEConnection'
  197.     DriverName = 'PostgreSQL'
  198.     GetDriverFunc = 'getSQLDriverPOSTGRESQL'
  199.     LibraryName = 'dbexppge.dll'
  200.     LoginPrompt = False
  201.     Params.Strings = (
  202.       '')
  203.     VendorLib = 'libpq.dll'
  204.     AfterConnect = connDemoAfterConnect
  205.     AfterDisconnect = connDemoAfterDisconnect
  206.     OnLogin = connDemoLogin
  207.     Left = 311
  208.     Top = 140
  209.   end
  210.   object cdsDemo: TClientDataSet
  211.     Aggregates = <>
  212.     Params = <>
  213.     ProviderName = 'dpDemo'
  214.     OnReconcileError = cdsDemoReconcileError
  215.     Left = 316
  216.     Top = 348
  217.   end
  218.   object sdsDemo: TSQLDataSet
  219.     MaxBlobSize = -1
  220.     Params = <>
  221.     SQLConnection = connDemo
  222.     Left = 316
  223.     Top = 296
  224.   end
  225.   object dpDemo: TDataSetProvider
  226.     DataSet = sdsDemo
  227.     Left = 364
  228.     Top = 300
  229.   end
  230. end
  231.