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 / DBREFER / MAIN.DFM / MAIN.txt
Text File  |  1997-04-20  |  7KB  |  268 lines

  1. object ManForm: TManForm
  2.   Left = 200
  3.   Top = 108
  4.   Width = 504
  5.   Height = 334
  6.   Caption = 'Example of using DBReference component'
  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 = 247
  17.     Width = 496
  18.     Height = 33
  19.     Align = alBottom
  20.     BevelOuter = bvNone
  21.     TabOrder = 0
  22.     object DBReference1: TDBReference
  23.       Left = 8
  24.       Top = 4
  25.       Width = 489
  26.       Height = 21
  27.       AlignText = rtLeft
  28.       Columns = <
  29.         item
  30.           FieldName = 'VendorNo'
  31.           Title.Caption = '+VendorNo'
  32.         end
  33.         item
  34.           FieldName = 'VendorName'
  35.         end
  36.         item
  37.           FieldName = 'Address1'
  38.         end
  39.         item
  40.           FieldName = 'Address2'
  41.         end
  42.         item
  43.           FieldName = 'City'
  44.         end
  45.         item
  46.           FieldName = 'State'
  47.         end
  48.         item
  49.           FieldName = 'Zip'
  50.         end
  51.         item
  52.           FieldName = 'Country'
  53.           Width = 91
  54.         end
  55.         item
  56.           FieldName = 'Phone'
  57.         end
  58.         item
  59.           FieldName = 'FAX'
  60.         end
  61.         item
  62.           FieldName = 'Preferred'
  63.         end>
  64.       CurrentSortColumn = -1
  65.       VisibleText = True
  66.       EditWidth = 73
  67.       Font.Charset = DEFAULT_CHARSET
  68.       Font.Color = clWindowText
  69.       Font.Height = -11
  70.       Font.Name = 'MS Sans Serif'
  71.       Font.Style = []
  72.       FontText.Charset = DEFAULT_CHARSET
  73.       FontText.Color = clNavy
  74.       FontText.Height = -11
  75.       FontText.Name = 'MS Sans Serif'
  76.       FontText.Style = []
  77.       Glyph.Data = {
  78.         76010000424D7601000000000000760000002800000020000000100000000100
  79.         04000000000000010000120B0000120B00001000000000000000000000000000
  80.         800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
  81.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00555555555555
  82.         55555555FFFFFFFF5555555000000005555555577777777FF555550999999900
  83.         55555575555555775F55509999999901055557F55555557F75F5001111111101
  84.         105577FFFFFFFF7FF75F00000000000011057777777777775F755070FFFFFF0F
  85.         01105777F555557F7FF75500FFFFFF0F00105577F555FF7F77575550FF70000F
  86.         0F0055575FF777757F775555000FFFFF0F005555777555FF7F77555550FF7000
  87.         0F055555575FF777757F555555000FFFFF05555555777555FF7F55555550FF70
  88.         0005555555575FF7777555555555000555555555555577755555555555555555
  89.         5555555555555555555555555555555555555555555555555555}
  90.       KeyField = 'VendorNo'
  91.       ListSource = DSLookUp
  92.       NumGlyphs = 2
  93.       Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
  94.       PatternText = '&VendorName,  &Country, &City, phone: &Phone'
  95.       SQLOrderFilter.AssignEmpty = False
  96.       SQLOrderFilter.TextBefore = 'Order by '
  97.       TableName = 'VENDORS.DB'
  98.       Text = '3820'
  99.       TextOnError = 'Invalid'
  100.       UseQuery = False
  101.       WinHeight = 227
  102.       WinWidth = 405
  103.       TabOrder = 0
  104.       DataField = 'VendorNo'
  105.       DataSource = DS
  106.     end
  107.   end
  108.   object Panel2: TPanel
  109.     Left = 0
  110.     Top = 0
  111.     Width = 496
  112.     Height = 247
  113.     Align = alClient
  114.     BevelInner = bvLowered
  115.     BevelOuter = bvNone
  116.     BorderWidth = 2
  117.     Caption = 'Panel2'
  118.     TabOrder = 1
  119.     object AutoDBGrid1: TAutoDBGrid
  120.       Left = 3
  121.       Top = 3
  122.       Width = 490
  123.       Height = 241
  124.       Align = alClient
  125.       DataSource = DS
  126.       TabOrder = 0
  127.       TitleFont.Charset = DEFAULT_CHARSET
  128.       TitleFont.Color = clWindowText
  129.       TitleFont.Height = -11
  130.       TitleFont.Name = 'MS Sans Serif'
  131.       TitleFont.Style = []
  132.       AutoOptions = []
  133.       AutoFilter.AssignEmpty = False
  134.       AutoRowHeight = 17
  135.       CurrentSortColumn = 1
  136.       FindFormFont.Charset = DEFAULT_CHARSET
  137.       FindFormFont.Color = clWindowText
  138.       FindFormFont.Height = -11
  139.       FindFormFont.Name = 'MS Sans Serif'
  140.       FindFormFont.Style = []
  141.       Columns = <
  142.         item
  143.           FieldName = 'PartNo'
  144.           Title.Caption = '+PartNo'
  145.         end
  146.         item
  147.           FieldName = 'VendorNo'
  148.           Title.Caption = '+VendorNo'
  149.           Width = 85
  150.         end
  151.         item
  152.           FieldName = 'Description'
  153.           Title.Caption = '+Description'
  154.         end
  155.         item
  156.           FieldName = 'OnHand'
  157.         end
  158.         item
  159.           FieldName = 'OnOrder'
  160.         end
  161.         item
  162.           FieldName = 'Cost'
  163.         end
  164.         item
  165.           FieldName = 'ListPrice'
  166.         end>
  167.     end
  168.   end
  169.   object Panel3: TPanel
  170.     Left = 0
  171.     Top = 280
  172.     Width = 496
  173.     Height = 27
  174.     Align = alBottom
  175.     BevelOuter = bvNone
  176.     TabOrder = 2
  177.     object Button1: TButton
  178.       Left = 304
  179.       Top = 0
  180.       Width = 75
  181.       Height = 25
  182.       Caption = 'About'
  183.       TabOrder = 0
  184.       OnClick = Button1Click
  185.     end
  186.     object BitBtn1: TBitBtn
  187.       Left = 418
  188.       Top = 0
  189.       Width = 75
  190.       Height = 25
  191.       TabOrder = 1
  192.       Kind = bkClose
  193.     end
  194.   end
  195.   object Database1: TDatabase
  196.     AliasName = 'DBDEMOS'
  197.     Connected = True
  198.     DatabaseName = 'Main'
  199.     SessionName = 'Default'
  200.     Left = 64
  201.     Top = 56
  202.   end
  203.   object Table: TTable
  204.     Active = True
  205.     DatabaseName = 'Main'
  206.     TableName = 'PARTS.DB'
  207.     Left = 104
  208.     Top = 56
  209.   end
  210.   object TLookUp: TTable
  211.     Active = True
  212.     DatabaseName = 'Main'
  213.     TableName = 'VENDORS.DB'
  214.     Left = 64
  215.     Top = 96
  216.     object TLookUpVendorNo: TFloatField
  217.       FieldName = 'VendorNo'
  218.     end
  219.     object TLookUpVendorName: TStringField
  220.       FieldName = 'VendorName'
  221.       Size = 30
  222.     end
  223.     object TLookUpAddress1: TStringField
  224.       FieldName = 'Address1'
  225.       Size = 30
  226.     end
  227.     object TLookUpAddress2: TStringField
  228.       FieldName = 'Address2'
  229.       Size = 30
  230.     end
  231.     object TLookUpCity: TStringField
  232.       FieldName = 'City'
  233.     end
  234.     object TLookUpState: TStringField
  235.       FieldName = 'State'
  236.     end
  237.     object TLookUpZip: TStringField
  238.       FieldName = 'Zip'
  239.       Size = 10
  240.     end
  241.     object TLookUpCountry: TStringField
  242.       FieldName = 'Country'
  243.       Size = 15
  244.     end
  245.     object TLookUpPhone: TStringField
  246.       FieldName = 'Phone'
  247.       Size = 15
  248.     end
  249.     object TLookUpFAX: TStringField
  250.       FieldName = 'FAX'
  251.       Size = 15
  252.     end
  253.     object TLookUpPreferred: TBooleanField
  254.       FieldName = 'Preferred'
  255.     end
  256.   end
  257.   object DS: TDataSource
  258.     DataSet = Table
  259.     Left = 136
  260.     Top = 56
  261.   end
  262.   object DSLookUp: TDataSource
  263.     DataSet = TLookUp
  264.     Left = 96
  265.     Top = 112
  266.   end
  267. end
  268.