home *** CD-ROM | disk | FTP | other *** search
/ PC Format Collection 48 / SENT14D.ISO / tech / delphi / disk15 / mastapp.pak / EDPARTS.DFM / EDPARTS.txt
Encoding:
Text File  |  1995-08-24  |  6.3 KB  |  290 lines

  1. object EdPartsForm: TEdPartsForm
  2.   Left = 261
  3.   Top = 114
  4.   AutoScroll = False
  5.   HelpContext = 6
  6.   ActiveControl = DBEdit2
  7.   BorderIcons = [biSystemMenu, biMinimize]
  8.   BorderStyle = bsSingle
  9.   Caption = 'Edit Parts'
  10.   ClientHeight = 207
  11.   ClientWidth = 313
  12.   Font.Color = clBlack
  13.   Font.Height = -11
  14.   Font.Name = 'MS Sans Serif'
  15.   Font.Style = []
  16.   PixelsPerInch = 96
  17.   Position = poScreenCenter
  18.   OnClose = FormClose
  19.   OnCreate = FormCreate
  20.   TextHeight = 13
  21.   object Panel1: TPanel
  22.     Left = 0
  23.     Top = 0
  24.     Width = 313
  25.     Height = 36
  26.     Align = alTop
  27.     TabOrder = 0
  28.     object PrintBtn: TSpeedButton
  29.       Left = 209
  30.       Top = 5
  31.       Width = 25
  32.       Height = 25
  33.       Hint = 'Print form image'
  34.       Glyph.Data = {
  35.         2A010000424D2A010000000000007600000028000000130000000F0000000100
  36.         0400000000000000000000000000000000000000000000000000000000000000
  37.         8000008000000080800080000000800080008080000080808000C0C0C0000000
  38.         FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
  39.         3333333F0EFF3300000000000003333F00FF37877777777777703330000030F8
  40.         8888888888870333003330F9988888888887703F11EE37FFFFFFFFFFFFF77039
  41.         0910330888888888888F703865F03330870000000078F03765F03333000FFFFF
  42.         F000033865F03333330F44448033333765F033333330FFFFFF03333865F03333
  43.         3330F4444803333765F0333333330FFFFFF0333865F033333333000000003336
  44.         66C0333333333333333333300000}
  45.       OnClick = PrintBtnClick
  46.     end
  47.     object Navigator: TDBNavigator
  48.       Left = 8
  49.       Top = 9
  50.       Width = 191
  51.       Height = 18
  52.       HelpContext = 6
  53.       DataSource = PartsSource
  54.       ParentShowHint = False
  55.       ShowHint = True
  56.       TabOrder = 0
  57.     end
  58.     object DoneBtn: TButton
  59.       Left = 246
  60.       Top = 4
  61.       Width = 59
  62.       Height = 27
  63.       Caption = 'C&lose'
  64.       Default = True
  65.       Font.Color = clBlack
  66.       Font.Height = -11
  67.       Font.Name = 'MS Sans Serif'
  68.       Font.Style = [fsBold]
  69.       ParentFont = False
  70.       TabOrder = 1
  71.       OnClick = DoneBtnClick
  72.     end
  73.   end
  74.   object Panel2: TPanel
  75.     Left = 0
  76.     Top = 36
  77.     Width = 313
  78.     Height = 171
  79.     Align = alClient
  80.     TabOrder = 1
  81.     object Label1: TLabel
  82.       Left = 8
  83.       Top = 12
  84.       Width = 33
  85.       Height = 13
  86.       Caption = 'PartNo'
  87.     end
  88.     object Label2: TLabel
  89.       Left = 8
  90.       Top = 31
  91.       Width = 53
  92.       Height = 13
  93.       Caption = 'Description'
  94.     end
  95.     object Label3: TLabel
  96.       Left = 8
  97.       Top = 50
  98.       Width = 34
  99.       Height = 13
  100.       Caption = 'Vendor'
  101.     end
  102.     object Label4: TLabel
  103.       Left = 8
  104.       Top = 70
  105.       Width = 40
  106.       Height = 13
  107.       Caption = 'OnHand'
  108.     end
  109.     object Label5: TLabel
  110.       Left = 8
  111.       Top = 89
  112.       Width = 40
  113.       Height = 13
  114.       Caption = 'OnOrder'
  115.     end
  116.     object Label7: TLabel
  117.       Left = 8
  118.       Top = 127
  119.       Width = 21
  120.       Height = 13
  121.       Caption = 'Cost'
  122.     end
  123.     object Label8: TLabel
  124.       Left = 8
  125.       Top = 146
  126.       Width = 40
  127.       Height = 13
  128.       Caption = 'ListPrice'
  129.     end
  130.     object Label6: TLabel
  131.       Left = 8
  132.       Top = 108
  133.       Width = 61
  134.       Height = 13
  135.       Caption = 'Backordered'
  136.     end
  137.     object DBEdit2: TDBEdit
  138.       Left = 80
  139.       Top = 27
  140.       Width = 225
  141.       Height = 20
  142.       HelpContext = 6
  143.       DataField = 'Description'
  144.       DataSource = PartsSource
  145.       MaxLength = 30
  146.       TabOrder = 0
  147.     end
  148.     object DBEdit4: TDBEdit
  149.       Left = 80
  150.       Top = 66
  151.       Width = 82
  152.       Height = 20
  153.       HelpContext = 6
  154.       DataField = 'OnHand'
  155.       DataSource = PartsSource
  156.       MaxLength = 0
  157.       TabOrder = 3
  158.     end
  159.     object DBEdit5: TDBEdit
  160.       Left = 80
  161.       Top = 85
  162.       Width = 82
  163.       Height = 20
  164.       HelpContext = 6
  165.       DataField = 'OnOrder'
  166.       DataSource = PartsSource
  167.       MaxLength = 0
  168.       TabOrder = 4
  169.     end
  170.     object DBEdit7: TDBEdit
  171.       Left = 80
  172.       Top = 123
  173.       Width = 102
  174.       Height = 20
  175.       HelpContext = 6
  176.       DataField = 'Cost'
  177.       DataSource = PartsSource
  178.       MaxLength = 0
  179.       TabOrder = 5
  180.     end
  181.     object DBEdit8: TDBEdit
  182.       Left = 80
  183.       Top = 142
  184.       Width = 102
  185.       Height = 20
  186.       HelpContext = 6
  187.       DataField = 'ListPrice'
  188.       DataSource = PartsSource
  189.       MaxLength = 0
  190.       TabOrder = 6
  191.     end
  192.     object DBLookupCombo2: TDBLookupCombo
  193.       Left = 80
  194.       Top = 46
  195.       Width = 225
  196.       Height = 21
  197.       HelpContext = 6
  198.       DataField = 'VendorNo'
  199.       DataSource = PartsSource
  200.       LookupSource = VendorSource
  201.       LookupDisplay = 'VendorName'
  202.       LookupField = 'VendorNo'
  203.       TabOrder = 1
  204.     end
  205.     object DBEdPartNo: TDBEdit
  206.       Left = 80
  207.       Top = 8
  208.       Width = 102
  209.       Height = 20
  210.       HelpContext = 6
  211.       Color = clSilver
  212.       DataField = 'PartNo'
  213.       DataSource = PartsSource
  214.       MaxLength = 0
  215.       ReadOnly = True
  216.       TabOrder = 7
  217.     end
  218.     object DBEdit3: TDBEdit
  219.       Left = 80
  220.       Top = 104
  221.       Width = 45
  222.       Height = 20
  223.       HelpContext = 6
  224.       DataField = 'BackOrd'
  225.       DataSource = PartsSource
  226.       MaxLength = 0
  227.       TabOrder = 2
  228.     end
  229.   end
  230.   object Parts: TTable
  231.     Active = True
  232.     BeforeOpen = PartsBeforeOpen
  233.     AfterInsert = PartsAfterInsert
  234.     AfterPost = PartsAfterPost
  235.     AfterCancel = PartsAfterCancel
  236.     OnCalcFields = PartsCalcFields
  237.     DatabaseName = 'MAST'
  238.     TableName = 'PARTS'
  239.     Left = 204
  240.     Top = 32
  241.     object PartsPartNo: TFloatField
  242.       Alignment = taLeftJustify
  243.       FieldName = 'PartNo'
  244.     end
  245.     object PartsDescription: TStringField
  246.       FieldName = 'Description'
  247.       Size = 30
  248.     end
  249.     object PartsVendorNo: TFloatField
  250.       FieldName = 'VendorNo'
  251.     end
  252.     object PartsOnHand: TFloatField
  253.       FieldName = 'OnHand'
  254.     end
  255.     object PartsOnOrder: TFloatField
  256.       FieldName = 'OnOrder'
  257.     end
  258.     object PartsBackOrd: TBooleanField
  259.       Calculated = True
  260.       FieldName = 'BackOrd'
  261.       DisplayValues = 'Yes;No'
  262.     end
  263.     object PartsCost: TCurrencyField
  264.       FieldName = 'Cost'
  265.       Currency = True
  266.     end
  267.     object PartsListPrice: TCurrencyField
  268.       FieldName = 'ListPrice'
  269.       Currency = True
  270.     end
  271.   end
  272.   object PartsSource: TDataSource
  273.     DataSet = Parts
  274.     Left = 233
  275.     Top = 32
  276.   end
  277.   object Vendors: TTable
  278.     Active = True
  279.     DatabaseName = 'MAST'
  280.     TableName = 'VENDORS'
  281.     Left = 212
  282.     Top = 108
  283.   end
  284.   object VendorSource: TDataSource
  285.     DataSet = Vendors
  286.     Left = 240
  287.     Top = 108
  288.   end
  289. end
  290.