home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / SkinFormWi273321012001.psc / frmMenuForm.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  2001-10-01  |  1.8 KB  |  66 lines

  1. VERSION 5.00
  2. Begin VB.Form frmMenuForm 
  3.    Caption         =   "Menu"
  4.    ClientHeight    =   555
  5.    ClientLeft      =   165
  6.    ClientTop       =   735
  7.    ClientWidth     =   4680
  8.    LinkTopic       =   "Form1"
  9.    ScaleHeight     =   555
  10.    ScaleWidth      =   4680
  11.    StartUpPosition =   3  'Windows Default
  12.    Visible         =   0   'False
  13.    Begin VB.Menu mnuFile 
  14.       Caption         =   "&File"
  15.       Begin VB.Menu mnuOpen 
  16.          Caption         =   "&Open"
  17.       End
  18.       Begin VB.Menu mnuNew 
  19.          Caption         =   "&New"
  20.       End
  21.       Begin VB.Menu mnuSave 
  22.          Caption         =   "&Save"
  23.       End
  24.       Begin VB.Menu mnuSaveAs 
  25.          Caption         =   "Save &As"
  26.       End
  27.       Begin VB.Menu mnuExit 
  28.          Caption         =   "E&xit"
  29.       End
  30.    End
  31. Attribute VB_Name = "frmMenuForm"
  32. Attribute VB_GlobalNameSpace = False
  33. Attribute VB_Creatable = False
  34. Attribute VB_PredeclaredId = True
  35. Attribute VB_Exposed = False
  36. Option Explicit
  37. Private Sub Form_Unload(p_intCancel As Integer)
  38.     ' Comments  :
  39.     ' Parameters:  -
  40.     ' Modified  :
  41.     '
  42.     ' --------------------------------------------------
  43.     On Error GoTo PROC_ERR
  44.     Set frmMenuForm = Nothing
  45. PROC_EXIT:
  46.     Exit Sub
  47. PROC_ERR:
  48.     MsgBox Err.Description
  49.     Resume PROC_EXIT
  50. End Sub
  51. Private Sub mnuExit_Click()
  52. Unload frmMainCode
  53. End Sub
  54. Private Sub mnuNew_Click()
  55. Mbox "Put Code Here to Create a New File", vbInformation
  56. End Sub
  57. Private Sub mnuOpen_Click()
  58. Mbox "Put Code Here to Open a File", vbInformation
  59. End Sub
  60. Private Sub mnuSave_Click()
  61. Mbox "Put Code Here to Save an Open File", vbInformation
  62. End Sub
  63. Private Sub mnuSaveAs_Click()
  64. IBox "Put Code Here to do a File/SaveAs.", App.Title, "Temp.txt"
  65. End Sub
  66.