home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Form1
- Caption = "Form1"
- ClientHeight = 4140
- ClientLeft = 960
- ClientTop = 1410
- ClientWidth = 5655
- Height = 4545
- Left = 900
- LinkTopic = "Form3"
- ScaleHeight = 4140
- ScaleWidth = 5655
- Top = 1065
- Width = 5775
- Sub CheckToSave ()
- AskCheck = False
- For i = 0 To forms.Count - 1
- If forms(i).Tag = "College" Or forms(i).Tag = "General" Then
- AskCheck = True
- End If
- Next
- If AskCheck Then
- Dim Msg, NL
- Dim Response As Integer
- NL = Chr$(10) & Chr$(13)
- Msg = "The information in this savings has been changed."
- Msg = Msg & NL
- Msg = Msg & "Do you want to save the changes?"
- Response = MsgBox(Msg, 51, "Visual Basic Savings Planner")
- Select Case Response
- Case 2 'User selects Cancel, cancel the unload
- Cancel = True
- Case 6 'User select Yes, save the savings plan
- SavePlan 'Invoke the Save procedure
- Case 7 'User selects No, Ok to unload
- Cancel = False
- End Select
- End If
- End Sub
- Sub Form_Load ()
- End Sub
- Sub SavePlan ()
- End Sub
-