home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l406 / 4.ddi / MDIFORM.FR_ / MDIFORM.bin (.txt)
Encoding:
Visual Basic Form  |  1992-10-21  |  31.1 KB  |  959 lines

  1. VERSION 2.00
  2. Begin MDIForm frmMDI 
  3.    Caption         =   "Savings - Untitled"
  4.    Height          =   2940
  5.    Icon            =   MDIFORM.FRX:0000
  6.    Left            =   870
  7.    LinkTopic       =   "MDIForm1"
  8.    Top             =   1065
  9.    Width           =   8475
  10.    Begin PictureBox Picture1 
  11.       Align           =   1  'Align Top
  12.       Height          =   30
  13.       Left            =   0
  14.       ScaleHeight     =   0
  15.       ScaleWidth      =   8385
  16.       TabIndex        =   3
  17.       Top             =   450
  18.       Width           =   8415
  19.    End
  20.    Begin PictureBox Picture2 
  21.       Align           =   2  'Align Bottom
  22.       BackColor       =   &H00C0C0C0&
  23.       Height          =   405
  24.       Left            =   0
  25.       ScaleHeight     =   375
  26.       ScaleMode       =   0  'User
  27.       ScaleWidth      =   8385
  28.       TabIndex        =   1
  29.       Top             =   1905
  30.       Width           =   8415
  31.       Begin Line Line4 
  32.          BorderColor     =   &H00FFFFFF&
  33.          X1              =   5805
  34.          X2              =   5805
  35.          Y1              =   45
  36.          Y2              =   345
  37.       End
  38.       Begin Line Line3 
  39.          BorderColor     =   &H00FFFFFF&
  40.          X1              =   105
  41.          X2              =   5805
  42.          Y1              =   330
  43.          Y2              =   330
  44.       End
  45.       Begin Line Line2 
  46.          BorderColor     =   &H00808080&
  47.          X1              =   105
  48.          X2              =   105
  49.          Y1              =   45
  50.          Y2              =   345
  51.       End
  52.       Begin Line Line1 
  53.          BorderColor     =   &H00808080&
  54.          X1              =   120
  55.          X2              =   5820
  56.          Y1              =   45
  57.          Y2              =   45
  58.       End
  59.       Begin Label lblStatus 
  60.          BackColor       =   &H00FF00FF&
  61.          BackStyle       =   0  'Transparent
  62.          ForeColor       =   &H00FF0000&
  63.          Height          =   225
  64.          Left            =   135
  65.          TabIndex        =   2
  66.          Top             =   90
  67.          Width           =   5655
  68.       End
  69.    End
  70.    Begin PictureBox picToolbar 
  71.       Align           =   1  'Align Top
  72.       BackColor       =   &H00C0C0C0&
  73.       Height          =   450
  74.       Left            =   0
  75.       ScaleHeight     =   420
  76.       ScaleMode       =   0  'User
  77.       ScaleWidth      =   8385
  78.       TabIndex        =   0
  79.       Top             =   0
  80.       Width           =   8415
  81.       Begin Image imgComGrid 
  82.          Height          =   255
  83.          Left            =   3930
  84.          Picture         =   MDIFORM.FRX:0302
  85.          Top             =   75
  86.          Visible         =   0   'False
  87.          Width           =   285
  88.       End
  89.       Begin Image imgGrid 
  90.          Height          =   240
  91.          Left            =   3555
  92.          Picture         =   MDIFORM.FRX:0448
  93.          Top             =   90
  94.          Visible         =   0   'False
  95.          Width           =   240
  96.       End
  97.       Begin Image imgComGraph 
  98.          Height          =   255
  99.          Left            =   2970
  100.          Picture         =   MDIFORM.FRX:0542
  101.          Top             =   75
  102.          Visible         =   0   'False
  103.          Width           =   270
  104.       End
  105.       Begin Image imgGraph 
  106.          Height          =   255
  107.          Left            =   2595
  108.          Picture         =   MDIFORM.FRX:0688
  109.          Top             =   75
  110.          Visible         =   0   'False
  111.          Width           =   270
  112.       End
  113.       Begin Image imgNewGen 
  114.          Height          =   225
  115.          Left            =   1965
  116.          Picture         =   MDIFORM.FRX:07CE
  117.          Top             =   90
  118.          Width           =   285
  119.       End
  120.       Begin Image imgNewCol 
  121.          Height          =   270
  122.          Left            =   1575
  123.          Picture         =   MDIFORM.FRX:08FC
  124.          Top             =   75
  125.          Width           =   240
  126.       End
  127.       Begin Image imgFileSave 
  128.          Height          =   240
  129.          Left            =   960
  130.          Picture         =   MDIFORM.FRX:0A06
  131.          Top             =   90
  132.          Width           =   255
  133.       End
  134.       Begin Image imgFileOpen 
  135.          Height          =   225
  136.          Left            =   555
  137.          Picture         =   MDIFORM.FRX:0B40
  138.          Top             =   75
  139.          Width           =   270
  140.       End
  141.       Begin Image imgFileNew 
  142.          Height          =   225
  143.          Left            =   195
  144.          Picture         =   MDIFORM.FRX:0C6E
  145.          Top             =   90
  146.          Width           =   225
  147.       End
  148.       Begin Line Line40 
  149.          BorderColor     =   &H00FFFFFF&
  150.          BorderWidth     =   2
  151.          Visible         =   0   'False
  152.          X1              =   3900
  153.          X2              =   3900
  154.          Y1              =   75
  155.          Y2              =   360
  156.       End
  157.       Begin Line Line39 
  158.          BorderColor     =   &H00FFFFFF&
  159.          BorderWidth     =   2
  160.          Visible         =   0   'False
  161.          X1              =   3900
  162.          X2              =   4215
  163.          Y1              =   60
  164.          Y2              =   60
  165.       End
  166.       Begin Line Line38 
  167.          BorderColor     =   &H00808080&
  168.          BorderWidth     =   2
  169.          Visible         =   0   'False
  170.          X1              =   3915
  171.          X2              =   4215
  172.          Y1              =   360
  173.          Y2              =   360
  174.       End
  175.       Begin Line Line37 
  176.          BorderColor     =   &H00808080&
  177.          BorderWidth     =   2
  178.          Visible         =   0   'False
  179.          X1              =   4230
  180.          X2              =   4230
  181.          Y1              =   75
  182.          Y2              =   360
  183.       End
  184.       Begin Line Line36 
  185.          BorderColor     =   &H00FFFFFF&
  186.          BorderWidth     =   2
  187.          Visible         =   0   'False
  188.          X1              =   3525
  189.          X2              =   3525
  190.          Y1              =   75
  191.          Y2              =   360
  192.       End
  193.       Begin Line Line35 
  194.          BorderColor     =   &H00FFFFFF&
  195.          BorderWidth     =   2
  196.          Visible         =   0   'False
  197.          X1              =   3525
  198.          X2              =   3840
  199.          Y1              =   60
  200.          Y2              =   60
  201.       End
  202.       Begin Line Line34 
  203.          BorderColor     =   &H00808080&
  204.          BorderWidth     =   2
  205.          Visible         =   0   'False
  206.          X1              =   3540
  207.          X2              =   3840
  208.          Y1              =   360
  209.          Y2              =   360
  210.       End
  211.       Begin Line Line33 
  212.          BorderColor     =   &H00808080&
  213.          BorderWidth     =   2
  214.          Visible         =   0   'False
  215.          X1              =   3855
  216.          X2              =   3855
  217.          Y1              =   75
  218.          Y2              =   360
  219.       End
  220.       Begin Shape Shape9 
  221.          Height          =   360
  222.          Left            =   3870
  223.          Top             =   30
  224.          Visible         =   0   'False
  225.          Width           =   390
  226.       End
  227.       Begin Shape Shape8 
  228.          Height          =   360
  229.          Left            =   3495
  230.          Top             =   30
  231.          Visible         =   0   'False
  232.          Width           =   390
  233.       End
  234.       Begin Shape Shape7 
  235.          Height          =   360
  236.          Left            =   2910
  237.          Top             =   30
  238.          Visible         =   0   'False
  239.          Width           =   390
  240.       End
  241.       Begin Shape Shape6 
  242.          Height          =   360
  243.          Left            =   2535
  244.          Top             =   30
  245.          Visible         =   0   'False
  246.          Width           =   390
  247.       End
  248.       Begin Shape Shape5 
  249.          Height          =   360
  250.          Left            =   1905
  251.          Top             =   30
  252.          Width           =   390
  253.       End
  254.       Begin Shape Shape4 
  255.          Height          =   360
  256.          Left            =   1515
  257.          Top             =   30
  258.          Width           =   390
  259.       End
  260.       Begin Shape Shape3 
  261.          Height          =   360
  262.          Left            =   900
  263.          Top             =   30
  264.          Width           =   390
  265.       End
  266.       Begin Shape Shape2 
  267.          Height          =   360
  268.          Left            =   510
  269.          Top             =   30
  270.          Width           =   390
  271.       End
  272.       Begin Shape Shape1 
  273.          Height          =   360
  274.          Left            =   135
  275.          Top             =   30
  276.          Width           =   375
  277.       End
  278.       Begin Line Line32 
  279.          BorderColor     =   &H00808080&
  280.          BorderWidth     =   2
  281.          Visible         =   0   'False
  282.          X1              =   3270
  283.          X2              =   3270
  284.          Y1              =   75
  285.          Y2              =   360
  286.       End
  287.       Begin Line Line31 
  288.          BorderColor     =   &H00808080&
  289.          BorderWidth     =   2
  290.          Visible         =   0   'False
  291.          X1              =   2955
  292.          X2              =   3255
  293.          Y1              =   360
  294.          Y2              =   360
  295.       End
  296.       Begin Line Line30 
  297.          BorderColor     =   &H00FFFFFF&
  298.          BorderWidth     =   2
  299.          Visible         =   0   'False
  300.          X1              =   2940
  301.          X2              =   3255
  302.          Y1              =   60
  303.          Y2              =   60
  304.       End
  305.       Begin Line Line29 
  306.          BorderColor     =   &H00FFFFFF&
  307.          BorderWidth     =   2
  308.          Visible         =   0   'False
  309.          X1              =   2940
  310.          X2              =   2940
  311.          Y1              =   75
  312.          Y2              =   360
  313.       End
  314.       Begin Line Line28 
  315.          BorderColor     =   &H00808080&
  316.          BorderWidth     =   2
  317.          Visible         =   0   'False
  318.          X1              =   2890
  319.          X2              =   2890
  320.          Y1              =   75
  321.          Y2              =   375
  322.       End
  323.       Begin Line Line27 
  324.          BorderColor     =   &H00808080&
  325.          BorderWidth     =   2
  326.          Visible         =   0   'False
  327.          X1              =   2580
  328.          X2              =   2865
  329.          Y1              =   360
  330.          Y2              =   360
  331.       End
  332.       Begin Line Line26 
  333.          BorderColor     =   &H00FFFFFF&
  334.          BorderWidth     =   2
  335.          Visible         =   0   'False
  336.          X1              =   2550
  337.          X2              =   2865
  338.          Y1              =   60
  339.          Y2              =   60
  340.       End
  341.       Begin Line Line25 
  342.          BorderColor     =   &H00FFFFFF&
  343.          BorderWidth     =   2
  344.          Visible         =   0   'False
  345.          X1              =   2550
  346.          X2              =   2550
  347.          Y1              =   75
  348.          Y2              =   360
  349.       End
  350.       Begin Line Line24 
  351.          BorderColor     =   &H00808080&
  352.          BorderWidth     =   2
  353.          X1              =   2265
  354.          X2              =   2265
  355.          Y1              =   75
  356.          Y2              =   360
  357.       End
  358.       Begin Line Line23 
  359.          BorderColor     =   &H00808080&
  360.          BorderWidth     =   2
  361.          X1              =   1965
  362.          X2              =   2265
  363.          Y1              =   360
  364.          Y2              =   360
  365.       End
  366.       Begin Line Line22 
  367.          BorderColor     =   &H00FFFFFF&
  368.          BorderWidth     =   2
  369.          X1              =   1950
  370.          X2              =   2265
  371.          Y1              =   60
  372.          Y2              =   60
  373.       End
  374.       Begin Line Line21 
  375.          BorderColor     =   &H00FFFFFF&
  376.          BorderWidth     =   2
  377.          X1              =   1950
  378.          X2              =   1950
  379.          Y1              =   60
  380.          Y2              =   350
  381.       End
  382.       Begin Line Line20 
  383.          BorderColor     =   &H00FFFFFF&
  384.          BorderWidth     =   2
  385.          X1              =   1545
  386.          X2              =   1545
  387.          Y1              =   60
  388.          Y2              =   345
  389.       End
  390.       Begin Line Line19 
  391.          BorderColor     =   &H00FFFFFF&
  392.          BorderWidth     =   2
  393.          X1              =   1545
  394.          X2              =   1875
  395.          Y1              =   60
  396.          Y2              =   60
  397.       End
  398.       Begin Line Line18 
  399.          BorderColor     =   &H00808080&
  400.          BorderWidth     =   2
  401.          X1              =   1560
  402.          X2              =   1875
  403.          Y1              =   360
  404.          Y2              =   360
  405.       End
  406.       Begin Line Line17 
  407.          BorderColor     =   &H00808080&
  408.          BorderWidth     =   2
  409.          X1              =   1875
  410.          X2              =   1875
  411.          Y1              =   75
  412.          Y2              =   375
  413.       End
  414.       Begin Line Line16 
  415.          BorderColor     =   &H00808080&
  416.          BorderWidth     =   2
  417.          X1              =   1260
  418.          X2              =   1260
  419.          Y1              =   75
  420.          Y2              =   375
  421.       End
  422.       Begin Line Line15 
  423.          BorderColor     =   &H00808080&
  424.          BorderWidth     =   2
  425.          X1              =   945
  426.          X2              =   1260
  427.          Y1              =   360
  428.          Y2              =   360
  429.       End
  430.       Begin Line Line14 
  431.          BorderColor     =   &H00FFFFFF&
  432.          BorderWidth     =   2
  433.          X1              =   930
  434.          X2              =   1245
  435.          Y1              =   60
  436.          Y2              =   60
  437.       End
  438.       Begin Line Line13 
  439.          BorderColor     =   &H00FFFFFF&
  440.          BorderWidth     =   2
  441.          X1              =   930
  442.          X2              =   930
  443.          Y1              =   60
  444.          Y2              =   330
  445.       End
  446.       Begin Line Line12 
  447.          BorderColor     =   &H00FFFFFF&
  448.          BorderWidth     =   2
  449.          X1              =   540
  450.          X2              =   540
  451.          Y1              =   75
  452.          Y2              =   345
  453.       End
  454.       Begin Line Line11 
  455.          BorderColor     =   &H00FFFFFF&
  456.          BorderWidth     =   2
  457.          X1              =   555
  458.          X2              =   855
  459.          Y1              =   60
  460.          Y2              =   60
  461.       End
  462.       Begin Line Line10 
  463.          BorderColor     =   &H00808080&
  464.          BorderWidth     =   2
  465.          X1              =   570
  466.          X2              =   855
  467.          Y1              =   360
  468.          Y2              =   360
  469.       End
  470.       Begin Line Line9 
  471.          BorderColor     =   &H00808080&
  472.          BorderWidth     =   2
  473.          X1              =   870
  474.          X2              =   870
  475.          Y1              =   75
  476.          Y2              =   360
  477.       End
  478.       Begin Line Line8 
  479.          BorderColor     =   &H00808080&
  480.          BorderWidth     =   2
  481.          X1              =   480
  482.          X2              =   480
  483.          Y1              =   60
  484.          Y2              =   360
  485.       End
  486.       Begin Line Line7 
  487.          BorderColor     =   &H00808080&
  488.          BorderWidth     =   2
  489.          X1              =   165
  490.          X2              =   480
  491.          Y1              =   360
  492.          Y2              =   360
  493.       End
  494.       Begin Line Line6 
  495.          BorderColor     =   &H00FFFFFF&
  496.          BorderWidth     =   2
  497.          X1              =   180
  498.          X2              =   480
  499.          Y1              =   60
  500.          Y2              =   60
  501.       End
  502.       Begin Line Line5 
  503.          BorderColor     =   &H00FFFFFF&
  504.          BorderWidth     =   2
  505.          X1              =   165
  506.          X2              =   165
  507.          Y1              =   75
  508.          Y2              =   360
  509.       End
  510.    End
  511.    Begin Menu mnuFile 
  512.       Caption         =   "&File"
  513.       Begin Menu mnuNewCGoal 
  514.          Caption         =   "New &College Goal..."
  515.       End
  516.       Begin Menu mnuNewGGoal 
  517.          Caption         =   "New &General Goal..."
  518.       End
  519.       Begin Menu mnuDash 
  520.          Caption         =   "-"
  521.       End
  522.       Begin Menu mnuNewSPlan 
  523.          Caption         =   "&New Savings Plan"
  524.       End
  525.       Begin Menu mnuOpenSPlan 
  526.          Caption         =   "&Open Savings Plan..."
  527.       End
  528.       Begin Menu mnuSaveSPlan 
  529.          Caption         =   "&Save Savings Plan"
  530.       End
  531.       Begin Menu mnuSaveAsSPlan 
  532.          Caption         =   "Save Savings Plan &As..."
  533.       End
  534.       Begin Menu mnuDash3 
  535.          Caption         =   "-"
  536.       End
  537.       Begin Menu mnuExit 
  538.          Caption         =   "E&xit"
  539.       End
  540.    End
  541.    Begin Menu mnuOpt 
  542.       Caption         =   "&Options"
  543.       Begin Menu mnuToolbar 
  544.          Caption         =   "&Toolbar"
  545.          Checked         =   -1  'True
  546.       End
  547.    End
  548.    Begin Menu mnuWindow 
  549.       Caption         =   "&Window"
  550.       WindowList      =   -1  'True
  551.       Begin Menu mnuCascade 
  552.          Caption         =   "&Cascade"
  553.       End
  554.       Begin Menu mnuArrangeIcons 
  555.          Caption         =   "&Arrange Icons"
  556.       End
  557.    End
  558.    Begin Menu mnuHelp 
  559.       Caption         =   "&Help"
  560.       Begin Menu mnuHelpInstructions 
  561.          Caption         =   "&Instructions"
  562.       End
  563.       Begin Menu mnuHelpDash 
  564.          Caption         =   "-"
  565.       End
  566.       Begin Menu mnuHelpAbout 
  567.          Caption         =   "&About..."
  568.       End
  569.    End
  570. Sub imgComGraph_Click ()
  571.     FormSelectProc "Graph"
  572. End Sub
  573. Sub imgComGraph_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
  574.     'Move the button bitmap and change color of lines
  575.     'to make the buttons look like it is being pushed
  576.     Line29.BorderColor = QBColor(8)
  577.     Line30.BorderColor = QBColor(8)
  578.     Line31.Visible = False
  579.     Line32.Visible = False
  580.     imgComGraph.Left = 2970
  581.     imgComGraph.Top = 90
  582. End Sub
  583. Sub imgComGraph_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  584.     'Change status bar as mouse pointer passes over
  585.     lblStatus.Caption = "Create Graph From Combined Goals"
  586. End Sub
  587. Sub imgComGraph_MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single)
  588.     'Move the button bitmap and change color of lines
  589.     'to make the buttons look like it is being pushed
  590.     Line29.BorderColor = QBColor(15)
  591.     Line30.BorderColor = QBColor(15)
  592.     Line31.Visible = True
  593.     Line32.Visible = True
  594.     imgComGraph.Left = 2955
  595.     imgComGraph.Top = 75
  596. End Sub
  597. Sub imgComGrid_Click ()
  598.     FormSelectProc "Grid"
  599. End Sub
  600. Sub imgComGrid_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
  601.     'Move the button bitmap and change color of lines
  602.     'to make the buttons look like it is being pushed
  603.     Line39.BorderColor = QBColor(8)
  604.     Line40.BorderColor = QBColor(8)
  605.     Line37.Visible = False
  606.     Line38.Visible = False
  607.     imgComGrid.Left = 3930
  608.     imgComGrid.Top = 105
  609. End Sub
  610. Sub imgComGrid_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  611.     'Change status bar as mouse pointer passes over
  612.     lblStatus.Caption = "Create Grid From Combined Goals"
  613. End Sub
  614. Sub imgComGrid_MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single)
  615.     'Move the button bitmap and change color of lines
  616.     'to make the buttons look like it is being pushed
  617.     Line39.BorderColor = QBColor(15)
  618.     Line40.BorderColor = QBColor(15)
  619.     Line37.Visible = True
  620.     Line38.Visible = True
  621.     imgComGrid.Left = 3915
  622.     imgComGrid.Top = 90
  623. End Sub
  624. Sub imgFileNew_Click ()
  625.     If NeedToSave Then CheckToSave
  626.     If SelectCancel = True Then
  627.         Exit Sub
  628.     End If
  629.     NewSavePlan
  630.     MsgBox "Choose New College Goal or New General Goal"
  631. End Sub
  632. Sub imgFileNew_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
  633.     'Move the button bitmap and change color of lines
  634.     'to make the buttons look like it is being pushed
  635.     Line5.BorderColor = QBColor(8)
  636.     Line6.BorderColor = QBColor(8)
  637.     Line7.Visible = False
  638.     Line8.Visible = False
  639.     imgFileNew.Left = 225
  640.     imgFileNew.Top = 105
  641. End Sub
  642. Sub imgFileNew_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  643.     'Change status bar as mouse pointer passes over
  644.     lblStatus.Caption = "Clear Current Savings Plan and Start New Savings Plan"
  645. End Sub
  646. Sub imgFileNew_MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single)
  647.     'Move the button bitmap and change color of lines
  648.     'to make the buttons look like it is being pushed
  649.     Line5.BorderColor = QBColor(15)
  650.     Line6.BorderColor = QBColor(15)
  651.     Line7.Visible = True
  652.     Line8.Visible = True
  653.     imgFileNew.Left = 210
  654.     imgFileNew.Top = 90
  655. End Sub
  656. Sub imgFileOpen_Click ()
  657.     If NeedToSave Then CheckToSave
  658.     If SelectCancel = True Then
  659.         Exit Sub
  660.     End If
  661.     NewSavePlan
  662.     FOpenProc
  663. End Sub
  664. Sub imgFileOpen_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
  665.     'Move the button bitmap and change color of lines
  666.     'to make the buttons look like it is being pushed
  667.     Line11.BorderColor = QBColor(8)
  668.     Line12.BorderColor = QBColor(8)
  669.     Line9.Visible = False
  670.     Line10.Visible = False
  671.     imgFileOpen.Left = 585
  672.     imgFileOpen.Top = 105
  673. End Sub
  674. Sub imgFileOpen_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  675.     'Change status bar as mouse pointer passes over
  676.     lblStatus.Caption = "Open Existing Savings Plan"
  677. End Sub
  678. Sub imgFileOpen_MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single)
  679.     'Move the button bitmap and change color of lines
  680.     'to make the buttons look like it is being pushed
  681.     Line11.BorderColor = QBColor(15)
  682.     Line12.BorderColor = QBColor(15)
  683.     Line9.Visible = True
  684.     Line10.Visible = True
  685.     imgFileOpen.Left = 570
  686.     imgFileOpen.Top = 90
  687. End Sub
  688. Sub imgFileSave_Click ()
  689.     For i = 0 To forms.Count - 1
  690.         If forms(i).Tag = "College" Or forms(i).Tag = "General" Then
  691.             SavePlanNeeded = True
  692.         End If
  693.     Next
  694.     If SavePlanNeeded Then SavePlan
  695. End Sub
  696. Sub imgFileSave_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
  697.     'Move the button bitmap and change color of lines
  698.     'to make the buttons look like it is being pushed
  699.     Line13.BorderColor = QBColor(8)
  700.     Line14.BorderColor = QBColor(8)
  701.     Line15.Visible = False
  702.     Line16.Visible = False
  703.     imgFileSave.Left = 960
  704.     imgFileSave.Top = 105
  705. End Sub
  706. Sub imgFileSave_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  707.     'Change status bar as mouse pointer passes over
  708.     lblStatus.Caption = "Save Current Savings Plan"
  709. End Sub
  710. Sub imgFileSave_MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single)
  711.     'Move the button bitmap and change color of lines
  712.     'to make the buttons look like it is being pushed
  713.     Line13.BorderColor = QBColor(15)
  714.     Line14.BorderColor = QBColor(15)
  715.     Line15.Visible = True
  716.     Line16.Visible = True
  717.     imgFileSave.Left = 945
  718.     imgFileSave.Top = 90
  719. End Sub
  720. Sub imgGraph_Click ()
  721.     'Graph current goal
  722.     If TypeOf activeform Is frmCollege Then
  723.         activeform.CmdGraph.Value = -1
  724.     ElseIf TypeOf activeform Is frmGeneral Then
  725.         activeform.CmdGraph.Value = -1
  726.     ElseIf TypeOf activeform Is frmGrid Then
  727.         activeform.CmdGraph.Value = -1
  728.     End If
  729. End Sub
  730. Sub imgGraph_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
  731.     'Move the button bitmap and change color of lines
  732.     'to make the buttons look like it is being pushed
  733.     Line25.BorderColor = QBColor(8)
  734.     Line26.BorderColor = QBColor(8)
  735.     Line27.Visible = False
  736.     Line28.Visible = False
  737.     imgGraph.Left = 2595
  738.     imgGraph.Top = 90
  739. End Sub
  740. Sub imgGraph_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  741.     'Change status bar as mouse pointer passes over
  742.     lblStatus.Caption = "Create Graph From Existing Goal"
  743. End Sub
  744. Sub imgGraph_MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single)
  745.     'Move the button bitmap and change color of lines
  746.     'to make the buttons look like it is being pushed
  747.     Line25.BorderColor = QBColor(15)
  748.     Line26.BorderColor = QBColor(15)
  749.     Line27.Visible = True
  750.     Line28.Visible = True
  751.     imgGraph.Left = 2580
  752.     imgGraph.Top = 75
  753. End Sub
  754. Sub imgGrid_Click ()
  755.     'Grid current goal
  756.     If TypeOf activeform Is frmCollege Then
  757.         activeform.CmdGrid.Value = -1
  758.     ElseIf TypeOf activeform Is frmGeneral Then
  759.         activeform.CmdGrid.Value = -1
  760.     End If
  761. End Sub
  762. Sub imgGrid_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
  763.     'Move the button bitmap and change color of lines
  764.     'to make the buttons look like it is being pushed
  765.     Line35.BorderColor = QBColor(8)
  766.     Line36.BorderColor = QBColor(8)
  767.     Line33.Visible = False
  768.     Line34.Visible = False
  769.     imgGrid.Left = 3570
  770.     imgGrid.Top = 105
  771. End Sub
  772. Sub imgGrid_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  773.     'Change status bar as mouse pointer passes over
  774.     lblStatus.Caption = "Create Grid From Existing Goal"
  775. End Sub
  776. Sub imgGrid_MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single)
  777.     'Move the button bitmap and change color of lines
  778.     'to make the buttons look like it is being pushed
  779.     Line35.BorderColor = QBColor(15)
  780.     Line36.BorderColor = QBColor(15)
  781.     Line33.Visible = True
  782.     Line34.Visible = True
  783.     imgGrid.Left = 3555
  784.     imgGrid.Top = 90
  785. End Sub
  786. Sub imgNewCol_Click ()
  787.     NewCGoal
  788. End Sub
  789. Sub imgNewCol_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
  790.     'Move the button bitmap and change color of lines
  791.     'to make the buttons look like it is being pushed
  792.     Line19.BorderColor = QBColor(8)
  793.     Line20.BorderColor = QBColor(8)
  794.     Line17.Visible = False
  795.     Line18.Visible = False
  796.     imgNewCol.Left = 1590
  797.     imgNewCol.Top = 90
  798. End Sub
  799. Sub imgNewCol_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  800.     'Change status bar as mouse pointer passes over
  801.     lblStatus.Caption = "Add New College Goal"
  802. End Sub
  803. Sub imgNewCol_MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single)
  804.     'Move the button bitmap and change color of lines
  805.     'to make the buttons look like it is being pushed
  806.     Line19.BorderColor = QBColor(15)
  807.     Line20.BorderColor = QBColor(15)
  808.     Line17.Visible = True
  809.     Line18.Visible = True
  810.     imgNewCol.Left = 1575
  811.     imgNewCol.Top = 75
  812. End Sub
  813. Sub imgNewGen_Click ()
  814.     NewGGoal
  815. End Sub
  816. Sub imgNewGen_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
  817.     'Move the button bitmap and change color of lines
  818.     'to make the buttons look like it is being pushed
  819.     Line21.BorderColor = QBColor(8)
  820.     Line22.BorderColor = QBColor(8)
  821.     Line23.Visible = False
  822.     Line24.Visible = False
  823.     imgNewGen.Left = 1980
  824.     imgNewGen.Top = 105
  825. End Sub
  826. Sub imgNewGen_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  827.     'Change status bar as mouse pointer passes over
  828.     lblStatus.Caption = "Add New General Goal"
  829. End Sub
  830. Sub imgNewGen_MouseUp (Button As Integer, Shift As Integer, X As Single, Y As Single)
  831.     'Move the button bitmap and change color of lines
  832.     'to make the buttons look like it is being pushed
  833.     Line21.BorderColor = QBColor(15)
  834.     Line22.BorderColor = QBColor(15)
  835.     Line23.Visible = True
  836.     Line24.Visible = True
  837.     imgNewGen.Left = 1965
  838.     imgNewGen.Top = 90
  839. End Sub
  840. Sub MDIForm_Load ()
  841.     NeedToSave = False
  842.     ' Size MDI form
  843.     frmMDI.WindowState = 0
  844.     Width = Screen.Width - (1 / 6 * Screen.Width)
  845.     Height = Screen.Height - (1 / 6 * Screen.Height)
  846.     Left = Screen.Width / 2 - Width / 2
  847.     Top = Screen.Height / 2 - Height / 2
  848.     mnuSaveAsSPlan.Enabled = False
  849.     mnuSaveSPlan.Enabled = False
  850.     ' Set Helpfile path to savings project directory
  851.     App.HelpFile = App.Path + "\SAVINGS.HLP"
  852. End Sub
  853. Sub MDIForm_QueryUnload (Cancel As Integer, UnloadMode As Integer)
  854.     'Ask to save the savings plan if changes have been made
  855.     SelectCancel = False
  856.     If NeedToSave Then
  857.         AskCheck = False
  858.         For i = 0 To forms.Count - 1
  859.             If forms(i).Tag = "College" Or forms(i).Tag = "General" Then
  860.                 AskCheck = True
  861.             End If
  862.         Next
  863.         If AskCheck Then
  864.             Dim Msg, NL
  865.             Dim Response As Integer
  866.             NL = Chr$(10) & Chr$(13)
  867.             Msg = "The information in this savings has been changed."
  868.             Msg = Msg & NL
  869.             Msg = Msg & "Do you want to save the changes?"
  870.             Response = MsgBox(Msg, 51, "Visual Basic Savings Planner")
  871.             Select Case Response
  872.             Case 2  'User selects Cancel, cancel the unload
  873.                 Cancel = True
  874.                 SelectCancel = True
  875.             Case 6  'User select Yes, save the savings plan
  876.                 SavePlan    'Invoke the Save procedure
  877.                 SelectCancel = False
  878.             Case 7  'User selects No, Ok to unload
  879.                 Cancel = False
  880.                 SelectCancel = False
  881.             End Select
  882.         End If
  883.     End If
  884.     R = WinHelp(hWnd, App.HelpFile, HELP_QUIT, 0)
  885. End Sub
  886. Sub mnuArrangeIcons_Click ()
  887.     'Arrange all iconized child forms
  888.     frmMDI.Arrange ARRANGE_ICONS
  889. End Sub
  890. Sub mnuCascade_Click ()
  891.     'Cascade child forms
  892.     frmMDI.Arrange CASCADE
  893. End Sub
  894. Sub mnuExit_Click ()
  895.     'When the user chooses File Exit in an MDI Application, unload
  896.     'the MDI form to invoke the QueryUnload event for every open child.
  897.     Unload frmMDI
  898.     End
  899. End Sub
  900. Sub mnuHelpAbout_Click ()
  901.     'Display About Dialog
  902.     frmAbout.Show 1
  903. End Sub
  904. Sub mnuHelpInstructions_Click ()
  905.     ' Display Help
  906.     R = WinHelp(hWnd, App.HelpFile, HELP_INDEX, 0)
  907. End Sub
  908. Sub mnuNewCGoal_Click ()
  909.     'New College Goal
  910.     NewCGoal
  911. End Sub
  912. Sub mnuNewGGoal_Click ()
  913.     'New General Goal
  914.     NewGGoal
  915. End Sub
  916. Sub mnuNewSPlan_Click ()
  917.     If NeedToSave Then CheckToSave
  918.     If SelectCancel = True Then
  919.         Exit Sub
  920.     End If
  921.     NewSavePlan
  922.     MsgBox "Choose New College Goal or New General Goal"
  923. End Sub
  924. Sub mnuOpenSPlan_Click ()
  925.     If NeedToSave Then CheckToSave
  926.     If SelectCancel = True Then
  927.         Exit Sub
  928.     End If
  929.     NewSavePlan
  930.     FOpenProc
  931. End Sub
  932. Sub mnuSaveAsSPlan_Click ()
  933.     For i = 0 To forms.Count - 1
  934.         If forms(i).Tag = "College" Or forms(i).Tag = "General" Then
  935.             SavePlanNeeded = True
  936.         End If
  937.     Next
  938.     If SavePlanNeeded Then SaveAsPlan
  939. End Sub
  940. Sub mnuSaveSPlan_Click ()
  941.     For i = 0 To forms.Count - 1
  942.         If forms(i).Tag = "College" Or forms(i).Tag = "General" Then
  943.             SavePlanNeeded = True
  944.         End If
  945.     Next
  946.     If SavePlanNeeded Then SavePlan
  947. End Sub
  948. Sub mnuToolbar_Click ()
  949.     OptionsToolbarProc Me
  950. End Sub
  951. Sub picToolbar_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  952.     'Blank status bar as mouse pointer passes over
  953.     lblStatus.Caption = ""
  954. End Sub
  955. Sub Picture1_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  956.     'Blank status bar as mouse moves over
  957.     lblStatus.Caption = ""
  958. End Sub
  959.