home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 September / Chip_2002-09_cd1.bin / zkuste / delphi / kompon / d23456 / SDFDATA.ZIP / Unit1.dfm < prev    next >
Text File  |  2002-01-03  |  6KB  |  266 lines

  1. object Form1: TForm1
  2.   Left = 192
  3.   Top = 107
  4.   BorderStyle = bsSingle
  5.   Caption = 'SDFDataSet Demo'
  6.   ClientHeight = 375
  7.   ClientWidth = 472
  8.   Color = clBtnFace
  9.   Font.Charset = DEFAULT_CHARSET
  10.   Font.Color = clWindowText
  11.   Font.Height = -11
  12.   Font.Name = 'MS Sans Serif'
  13.   Font.Style = []
  14.   OldCreateOrder = False
  15.   PixelsPerInch = 96
  16.   TextHeight = 13
  17.   object LblNote: TLabel
  18.     Left = 8
  19.     Top = 360
  20.     Width = 296
  21.     Height = 13
  22.     Caption = 
  23.       'Note: Results are saved to '#39'TempFile.txt'#39' for this demonstration' +
  24.       '.'
  25.   end
  26.   object DBNavigator1: TDBNavigator
  27.     Left = 224
  28.     Top = 192
  29.     Width = 240
  30.     Height = 22
  31.     DataSource = DataSource
  32.     ParentShowHint = False
  33.     ShowHint = True
  34.     TabOrder = 0
  35.   end
  36.   object BtnActiveGrid: TButton
  37.     Left = 7
  38.     Top = 192
  39.     Width = 75
  40.     Height = 22
  41.     Caption = '&Open'
  42.     TabOrder = 1
  43.     OnClick = BtnActiveGridClick
  44.   end
  45.   object GrdEdit: TDBGrid
  46.     Left = 7
  47.     Top = 214
  48.     Width = 458
  49.     Height = 120
  50.     DataSource = DataSource
  51.     TabOrder = 2
  52.     TitleFont.Charset = DEFAULT_CHARSET
  53.     TitleFont.Color = clWindowText
  54.     TitleFont.Height = -11
  55.     TitleFont.Name = 'MS Sans Serif'
  56.     TitleFont.Style = []
  57.   end
  58.   object PnlOptions: TPanel
  59.     Left = 0
  60.     Top = 0
  61.     Width = 473
  62.     Height = 185
  63.     BevelOuter = bvNone
  64.     TabOrder = 3
  65.     object MemoFile: TMemo
  66.       Left = 6
  67.       Top = 31
  68.       Width = 314
  69.       Height = 105
  70.       Font.Charset = ANSI_CHARSET
  71.       Font.Color = clWindowText
  72.       Font.Height = -13
  73.       Font.Name = 'Courier'
  74.       Font.Style = []
  75.       ParentFont = False
  76.       ScrollBars = ssBoth
  77.       TabOrder = 0
  78.       WordWrap = False
  79.     end
  80.     object MemoSchema: TMemo
  81.       Left = 326
  82.       Top = 31
  83.       Width = 137
  84.       Height = 105
  85.       TabOrder = 1
  86.     end
  87.     object PnlFile: TPanel
  88.       Left = 7
  89.       Top = 8
  90.       Width = 313
  91.       Height = 23
  92.       BevelInner = bvLowered
  93.       Caption = 'Text File'
  94.       TabOrder = 2
  95.       object BtnLoadFile: TButton
  96.         Tag = 1
  97.         Left = 271
  98.         Top = 3
  99.         Width = 39
  100.         Height = 17
  101.         Caption = 'Load...'
  102.         TabOrder = 0
  103.         OnClick = BtnLoadFileClick
  104.       end
  105.     end
  106.     object PnlSchema: TPanel
  107.       Left = 327
  108.       Top = 8
  109.       Width = 137
  110.       Height = 23
  111.       BevelInner = bvLowered
  112.       Caption = 'Scheme'
  113.       TabOrder = 3
  114.       object BtnLoadSchema: TButton
  115.         Tag = 2
  116.         Left = 95
  117.         Top = 3
  118.         Width = 39
  119.         Height = 17
  120.         Caption = 'Load...'
  121.         TabOrder = 0
  122.         OnClick = BtnLoadFileClick
  123.       end
  124.     end
  125.     object RGrpFormat: TRadioGroup
  126.       Left = 7
  127.       Top = 142
  128.       Width = 185
  129.       Height = 41
  130.       Caption = 'File columns are'
  131.       Columns = 2
  132.       Items.Strings = (
  133.         'Fixed Size'
  134.         'Delimited')
  135.       TabOrder = 4
  136.       OnClick = RGrpFormatClick
  137.     end
  138.     object PnlCSVOptions: TPanel
  139.       Left = 199
  140.       Top = 147
  141.       Width = 265
  142.       Height = 35
  143.       BevelInner = bvRaised
  144.       BevelOuter = bvLowered
  145.       TabOrder = 5
  146.       Visible = False
  147.       object Label1: TLabel
  148.         Left = 8
  149.         Top = 11
  150.         Width = 57
  151.         Height = 13
  152.         Caption = 'Delimited by'
  153.       end
  154.       object EdtDelimiter: TEdit
  155.         Left = 71
  156.         Top = 9
  157.         Width = 16
  158.         Height = 21
  159.         MaxLength = 1
  160.         TabOrder = 0
  161.         Text = ','
  162.       end
  163.       object ChkFirstLineSchema: TCheckBox
  164.         Left = 104
  165.         Top = 10
  166.         Width = 145
  167.         Height = 17
  168.         Alignment = taLeftJustify
  169.         BiDiMode = bdLeftToRight
  170.         Caption = 'Use First Line as Schema'
  171.         ParentBiDiMode = False
  172.         TabOrder = 1
  173.       end
  174.     end
  175.   end
  176.   object ChkFilter: TCheckBox
  177.     Left = 96
  178.     Top = 192
  179.     Width = 113
  180.     Height = 17
  181.     Caption = 'Filter odd records'
  182.     Enabled = False
  183.     TabOrder = 4
  184.     OnClick = ChkFilterClick
  185.   end
  186.   object CBxFieldList: TComboBox
  187.     Left = 8
  188.     Top = 336
  189.     Width = 97
  190.     Height = 21
  191.     ItemHeight = 13
  192.     Sorted = True
  193.     TabOrder = 5
  194.   end
  195.   object EdtValue: TEdit
  196.     Left = 112
  197.     Top = 336
  198.     Width = 121
  199.     Height = 21
  200.     TabOrder = 6
  201.   end
  202.   object ChkCase: TCheckBox
  203.     Left = 272
  204.     Top = 340
  205.     Width = 89
  206.     Height = 17
  207.     Caption = 'Ignore Case'
  208.     Checked = True
  209.     State = cbChecked
  210.     TabOrder = 7
  211.   end
  212.   object ChkPartial: TCheckBox
  213.     Left = 360
  214.     Top = 341
  215.     Width = 105
  216.     Height = 17
  217.     Caption = 'Partial Key'
  218.     Checked = True
  219.     State = cbChecked
  220.     TabOrder = 8
  221.   end
  222.   object BtnFind: TButton
  223.     Left = 232
  224.     Top = 336
  225.     Width = 33
  226.     Height = 21
  227.     Caption = '&Find'
  228.     TabOrder = 9
  229.     OnClick = BtnFindClick
  230.   end
  231.   object SdfDataSet: TSdfDataSet
  232.     FileMustExist = True
  233.     ReadOnly = False
  234.     FileName = '.\TempFile.txt'
  235.     FieldDefs = <>
  236.     OnFilterRecord = FixedDataSetFilterRecord
  237.     Delimiter = ','
  238.     FirstLineAsSchema = False
  239.     Left = 408
  240.     Top = 88
  241.   end
  242.   object FixedDataSet: TFixedFormatDataSet
  243.     FileMustExist = True
  244.     ReadOnly = False
  245.     FileName = '.\TempFile.txt'
  246.     FieldDefs = <
  247.       item
  248.         Name = 'Line'
  249.         DataType = ftString
  250.         Size = 74
  251.       end>
  252.     OnFilterRecord = FixedDataSetFilterRecord
  253.     Left = 376
  254.     Top = 88
  255.   end
  256.   object DataSource: TDataSource
  257.     DataSet = FixedDataSet
  258.     Left = 344
  259.     Top = 88
  260.   end
  261.   object OpenDialog: TOpenDialog
  262.     Left = 344
  263.     Top = 48
  264.   end
  265. end
  266.