home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Runimage / Delphi50 / Demos / Db / Ctrlgrid / CTRLFORM.DFM / CTRLFORM.txt
Encoding:
Text File  |  1999-08-11  |  6.5 KB  |  324 lines

  1. object FmCtrlGrid: TFmCtrlGrid
  2.   Left = 215
  3.   Top = 183
  4.   ActiveControl = DBGrid1
  5.   BorderStyle = bsSingle
  6.   Caption = 'Stock Browser'
  7.   ClientHeight = 340
  8.   ClientWidth = 586
  9.   Font.Color = clWindowText
  10.   Font.Height = -11
  11.   Font.Name = 'MS Sans Serif'
  12.   Font.Style = [fsBold]
  13.   Menu = MainMenu1
  14.   OnShow = FormShow
  15.   PixelsPerInch = 96
  16.   TextHeight = 13
  17.   object Bevel1: TBevel
  18.     Left = 4
  19.     Top = 212
  20.     Width = 220
  21.     Height = 85
  22.     Shape = bsFrame
  23.   end
  24.   object Label5: TLabel
  25.     Left = 6
  26.     Top = 4
  27.     Width = 61
  28.     Height = 13
  29.     AutoSize = False
  30.     Caption = '&Securities:'
  31.     FocusControl = DBGrid1
  32.   end
  33.   object Label6: TLabel
  34.     Left = 230
  35.     Top = 152
  36.     Width = 54
  37.     Height = 13
  38.     AutoSize = False
  39.     Caption = '&Holdings:'
  40.     FocusControl = DBEdit2
  41.   end
  42.   object Label7: TLabel
  43.     Left = 4
  44.     Top = 196
  45.     Width = 103
  46.     Height = 13
  47.     AutoSize = False
  48.     Caption = 'Investment Value:'
  49.   end
  50.   object Label8: TLabel
  51.     Left = 12
  52.     Top = 220
  53.     Width = 105
  54.     Height = 13
  55.     Alignment = taRightJustify
  56.     Caption = 'Number of Purchases:'
  57.     Font.Color = clWindowText
  58.     Font.Height = -12
  59.     Font.Name = 'MS Sans Serif'
  60.     Font.Style = []
  61.     ParentFont = False
  62.   end
  63.   object Label9: TLabel
  64.     Left = 15
  65.     Top = 242
  66.     Width = 82
  67.     Height = 13
  68.     Alignment = taRightJustify
  69.     Caption = 'Total Share Cost:'
  70.     Font.Color = clWindowText
  71.     Font.Height = -12
  72.     Font.Name = 'MS Sans Serif'
  73.     Font.Style = []
  74.     ParentFont = False
  75.   end
  76.   object Label10: TLabel
  77.     Left = 19
  78.     Top = 260
  79.     Width = 78
  80.     Height = 13
  81.     Alignment = taRightJustify
  82.     Caption = 'Value of Shares:'
  83.     Font.Color = clWindowText
  84.     Font.Height = -12
  85.     Font.Name = 'MS Sans Serif'
  86.     Font.Style = []
  87.     ParentFont = False
  88.   end
  89.   object Label11: TLabel
  90.     Left = 23
  91.     Top = 279
  92.     Width = 74
  93.     Height = 13
  94.     Alignment = taRightJustify
  95.     Caption = 'C/V Difference:'
  96.     Font.Color = clWindowText
  97.     Font.Height = -12
  98.     Font.Name = 'MS Sans Serif'
  99.     Font.Style = []
  100.     ParentFont = False
  101.   end
  102.   object lPurchase: TLabel
  103.     Left = 123
  104.     Top = 220
  105.     Width = 86
  106.     Height = 13
  107.     AutoSize = False
  108.   end
  109.   object lTotalCost: TLabel
  110.     Left = 103
  111.     Top = 242
  112.     Width = 110
  113.     Height = 13
  114.     Alignment = taRightJustify
  115.     AutoSize = False
  116.   end
  117.   object lTotalShares: TLabel
  118.     Left = 103
  119.     Top = 260
  120.     Width = 110
  121.     Height = 13
  122.     Alignment = taRightJustify
  123.     AutoSize = False
  124.   end
  125.   object lDifference: TLabel
  126.     Left = 103
  127.     Top = 279
  128.     Width = 110
  129.     Height = 13
  130.     Alignment = taRightJustify
  131.     AutoSize = False
  132.   end
  133.   object DBCtrlGrid1: TDBCtrlGrid
  134.     Left = 228
  135.     Top = 168
  136.     Width = 350
  137.     Height = 159
  138.     ColCount = 1
  139.     DataSource = DM1.dsHoldings
  140.     PanelHeight = 53
  141.     PanelWidth = 334
  142.     TabOrder = 1
  143.     RowCount = 3
  144.     OnEnter = DBCtrlGrid1Enter
  145.     object Label1: TLabel
  146.       Left = 8
  147.       Top = 9
  148.       Width = 74
  149.       Height = 13
  150.       Alignment = taRightJustify
  151.       Caption = 'Purchase Date:'
  152.       Font.Color = clWindowText
  153.       Font.Height = -12
  154.       Font.Name = 'MS Sans Serif'
  155.       Font.Style = []
  156.       ParentFont = False
  157.     end
  158.     object Label2: TLabel
  159.       Left = 183
  160.       Top = 32
  161.       Width = 75
  162.       Height = 13
  163.       Alignment = taRightJustify
  164.       Caption = 'Purchase Price:'
  165.       Font.Color = clWindowText
  166.       Font.Height = -12
  167.       Font.Name = 'MS Sans Serif'
  168.       Font.Style = []
  169.       ParentFont = False
  170.     end
  171.     object Label3: TLabel
  172.       Left = 185
  173.       Top = 9
  174.       Width = 73
  175.       Height = 13
  176.       Alignment = taRightJustify
  177.       Caption = 'Shares Bought:'
  178.       Font.Color = clWindowText
  179.       Font.Height = -12
  180.       Font.Name = 'MS Sans Serif'
  181.       Font.Style = []
  182.       ParentFont = False
  183.     end
  184.     object Label4: TLabel
  185.       Left = 17
  186.       Top = 32
  187.       Width = 65
  188.       Height = 13
  189.       Alignment = taRightJustify
  190.       Caption = 'Acct Number:'
  191.       Font.Color = clWindowText
  192.       Font.Height = -12
  193.       Font.Name = 'MS Sans Serif'
  194.       Font.Style = []
  195.       ParentFont = False
  196.     end
  197.     object DBEdit1: TDBEdit
  198.       Left = 83
  199.       Top = 29
  200.       Width = 90
  201.       Height = 21
  202.       DataField = 'ACCT_NBR'
  203.       DataSource = DM1.dsHoldings
  204.       MaxLength = 0
  205.       TabOrder = 0
  206.     end
  207.     object DBEdit2: TDBEdit
  208.       Left = 83
  209.       Top = 6
  210.       Width = 90
  211.       Height = 21
  212.       DataField = 'PUR_DATE'
  213.       DataSource = DM1.dsHoldings
  214.       MaxLength = 0
  215.       TabOrder = 1
  216.     end
  217.     object DBEdit3: TDBEdit
  218.       Left = 259
  219.       Top = 29
  220.       Width = 66
  221.       Height = 21
  222.       DataField = 'PUR_PRICE'
  223.       DataSource = DM1.dsHoldings
  224.       MaxLength = 0
  225.       TabOrder = 2
  226.     end
  227.     object DBEdit4: TDBEdit
  228.       Left = 259
  229.       Top = 6
  230.       Width = 66
  231.       Height = 21
  232.       DataField = 'SHARES'
  233.       DataSource = DM1.dsHoldings
  234.       MaxLength = 0
  235.       TabOrder = 3
  236.     end
  237.   end
  238.   object DBGrid1: TDBGrid
  239.     Left = 4
  240.     Top = 20
  241.     Width = 573
  242.     Height = 128
  243.     Columns = <
  244.       item
  245.         FieldName = 'SYMBOL'
  246.       end
  247.       item
  248.         FieldName = 'CO_NAME'
  249.       end
  250.       item
  251.         FieldName = 'IndustryLongName'
  252.       end
  253.       item
  254.         FieldName = 'EXCHANGE'
  255.       end
  256.       item
  257.         FieldName = 'CUR_PRICE'
  258.       end
  259.       item
  260.         FieldName = 'YRL_HIGH'
  261.         Width = 62
  262.       end
  263.       item
  264.         FieldName = 'YRL_LOW'
  265.       end
  266.       item
  267.         FieldName = 'P_E_RATIO'
  268.       end
  269.       item
  270.         FieldName = 'PROJ_GRTH'
  271.       end
  272.       item
  273.         FieldName = 'PRICE_CHG'
  274.       end
  275.       item
  276.         FieldName = 'RATING'
  277.       end
  278.       item
  279.         FieldName = 'RANK'
  280.       end
  281.       item
  282.         FieldName = 'OUTLOOK'
  283.       end
  284.       item
  285.         FieldName = 'RCMNDATION'
  286.       end
  287.       item
  288.         FieldName = 'RISK'
  289.       end>
  290.     DataSource = DM1.dsMaster
  291.     Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit]
  292.     TabOrder = 0
  293.     TitleFont.Color = clWindowText
  294.     TitleFont.Height = -11
  295.     TitleFont.Name = 'MS Sans Serif'
  296.     TitleFont.Style = [fsBold]
  297.     OnEnter = DBGrid1Enter
  298.   end
  299.   object Button1: TButton
  300.     Left = 82
  301.     Top = 309
  302.     Width = 75
  303.     Height = 24
  304.     Caption = '&Close'
  305.     TabOrder = 2
  306.     OnClick = Button1Click
  307.   end
  308.   object DBNavigator1: TDBNavigator
  309.     Left = 4
  310.     Top = 168
  311.     Width = 210
  312.     Height = 18
  313.     TabOrder = 3
  314.   end
  315.   object MainMenu1: TMainMenu
  316.     Left = 93
  317.     object About1: TMenuItem
  318.       Caption = '&About'
  319.       ShortCut = 0
  320.       OnClick = About1Click
  321.     end
  322.   end
  323. end
  324.