home *** CD-ROM | disk | FTP | other *** search
/ Chip: Shareware for Win 95 / Chip-Shareware-Win95.bin / ostatni / delphi / ruzne / auto32d3.exe / rar / AUTO32D3 / DEMOS / DELPHI3.0 / DBGRIDAD / MAIN.DFM / MAIN.txt
Text File  |  1997-04-20  |  4KB  |  187 lines

  1. object MainForm: TMainForm
  2.   Left = 136
  3.   Top = 84
  4.   Width = 571
  5.   Height = 372
  6.   Caption = 'The example of using AutoOptions property of the AutoDBGrid'
  7.   Font.Charset = DEFAULT_CHARSET
  8.   Font.Color = clWindowText
  9.   Font.Height = -11
  10.   Font.Name = 'MS Sans Serif'
  11.   Font.Style = []
  12.   PixelsPerInch = 96
  13.   TextHeight = 13
  14.   object Panel1: TPanel
  15.     Left = 0
  16.     Top = 288
  17.     Width = 563
  18.     Height = 57
  19.     Align = alBottom
  20.     BevelOuter = bvNone
  21.     TabOrder = 0
  22.     object Label1: TLabel
  23.       Left = 175
  24.       Top = 33
  25.       Width = 204
  26.       Height = 13
  27.       Caption = 'Change the row heights. Now you can do it'
  28.     end
  29.     object CheckBox1: TCheckBox
  30.       Left = 8
  31.       Top = 31
  32.       Width = 73
  33.       Height = 17
  34.       Caption = 'View Memo'
  35.       State = cbChecked
  36.       TabOrder = 0
  37.       OnClick = CheckBox1Click
  38.     end
  39.     object CheckBox2: TCheckBox
  40.       Left = 88
  41.       Top = 32
  42.       Width = 81
  43.       Height = 17
  44.       Caption = 'View Image'
  45.       State = cbChecked
  46.       TabOrder = 1
  47.       OnClick = CheckBox2Click
  48.     end
  49.     object Button1: TButton
  50.       Left = 392
  51.       Top = 29
  52.       Width = 75
  53.       Height = 25
  54.       Caption = 'About'
  55.       TabOrder = 2
  56.       OnClick = Button1Click
  57.     end
  58.     object BitBtn1: TBitBtn
  59.       Left = 480
  60.       Top = 30
  61.       Width = 75
  62.       Height = 25
  63.       TabOrder = 3
  64.       Kind = bkClose
  65.     end
  66.     object DBNavigator1: TDBNavigator
  67.       Left = 8
  68.       Top = 0
  69.       Width = 240
  70.       Height = 25
  71.       DataSource = DataSource1
  72.       TabOrder = 4
  73.     end
  74.   end
  75.   object Panel2: TPanel
  76.     Left = 0
  77.     Top = 0
  78.     Width = 563
  79.     Height = 288
  80.     Align = alClient
  81.     BevelInner = bvLowered
  82.     BevelOuter = bvNone
  83.     BorderWidth = 4
  84.     Caption = 'Panel2'
  85.     TabOrder = 1
  86.     object AutoDBGrid1: TAutoDBGrid
  87.       Left = 5
  88.       Top = 5
  89.       Width = 553
  90.       Height = 278
  91.       Align = alClient
  92.       DataSource = DataSource1
  93.       TabOrder = 0
  94.       TitleFont.Charset = DEFAULT_CHARSET
  95.       TitleFont.Color = clWindowText
  96.       TitleFont.Height = -11
  97.       TitleFont.Name = 'MS Sans Serif'
  98.       TitleFont.Style = []
  99.       AutoOptions = [adgViewImage, adgViewMemo]
  100.       AutoFilter.AssignEmpty = False
  101.       AutoRowHeight = 77
  102.       CurrentSortColumn = 1
  103.       FindFormFont.Charset = DEFAULT_CHARSET
  104.       FindFormFont.Color = clWindowText
  105.       FindFormFont.Height = -11
  106.       FindFormFont.Name = 'MS Sans Serif'
  107.       FindFormFont.Style = []
  108.       Columns = <
  109.         item
  110.           FieldName = 'Species No'
  111.           Title.Caption = '+Species No'
  112.         end
  113.         item
  114.           FieldName = 'Category'
  115.           Width = 56
  116.         end
  117.         item
  118.           FieldName = 'Common_Name'
  119.           Width = 93
  120.         end
  121.         item
  122.           FieldName = 'Species Name'
  123.           Width = 84
  124.         end
  125.         item
  126.           FieldName = 'Graphic'
  127.           Width = 122
  128.         end
  129.         item
  130.           FieldName = 'Notes'
  131.           Width = 171
  132.         end
  133.         item
  134.           FieldName = 'Length (cm)'
  135.         end
  136.         item
  137.           FieldName = 'Length_In'
  138.           Width = 54
  139.         end>
  140.     end
  141.   end
  142.   object Table1: TTable
  143.     Active = True
  144.     DatabaseName = 'DBDEMOS'
  145.     TableName = 'BIOLIFE.DB'
  146.     Left = 24
  147.     Top = 80
  148.     object Table1SpeciesNo: TFloatField
  149.       FieldName = 'Species No'
  150.     end
  151.     object Table1Category: TStringField
  152.       FieldName = 'Category'
  153.       Size = 15
  154.     end
  155.     object Table1Common_Name: TStringField
  156.       FieldName = 'Common_Name'
  157.       Size = 30
  158.     end
  159.     object Table1SpeciesName: TStringField
  160.       FieldName = 'Species Name'
  161.       Size = 40
  162.     end
  163.     object Table1Lengthcm: TFloatField
  164.       FieldName = 'Length (cm)'
  165.       DisplayFormat = '#####,###'
  166.     end
  167.     object Table1Length_In: TFloatField
  168.       FieldName = 'Length_In'
  169.       DisplayFormat = '## ###,##'
  170.     end
  171.     object Table1Notes: TMemoField
  172.       FieldName = 'Notes'
  173.       BlobType = ftMemo
  174.       Size = 50
  175.     end
  176.     object Table1Graphic: TGraphicField
  177.       FieldName = 'Graphic'
  178.       BlobType = ftGraphic
  179.     end
  180.   end
  181.   object DataSource1: TDataSource
  182.     DataSet = Table1
  183.     Left = 32
  184.     Top = 120
  185.   end
  186. end
  187.