home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 May / CMCD0505.ISO / Software / Shareware / Programare / pgedri / Source / Demos / PGEDemo / VCL / Main.dfm next >
Encoding:
Text File  |  2005-04-01  |  5.1 KB  |  236 lines

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