【VB开源代码栏目提醒】:网学会员--在 VB开源代码编辑为广大网友搜集整理了:Ex9_1.frm绩等信息,祝愿广大网友取得需要的信息,参考学习。
VERSION 5.00
Begin VB.Form Ex9_1
Caption = "菜单
设计"
ClientHeight = 2070
ClientLeft = 165
ClientTop = 855
ClientWidth = 4110
LinkTopic = "Form1"
ScaleHeight = 2070
ScaleWidth = 4110
StartUpPosition = 3 '窗口缺省
Begin VB.Menu MenuFile
Caption = "文件(&F)"
Begin VB.Menu MenuFileNew
Caption = "新建(&N)"
Begin VB.Menu MenuFileNewFold
Caption = "文件夹"
End
Begin VB.Menu MenuFileNewFile
Caption = "文件"
End
End
Begin VB.Menu MenuFileOpen
Caption = "打开(&O)"
End
Begin VB.Menu MenuFileSave
Caption = "保存(&S)"
End
Begin VB.Menu MenuSp0
Caption = "-"
End
Begin
VB.Menu MenuFileExit
Caption = "退出(&X)"
End
End
Begin VB.Menu MenuEdit
Caption = "编辑(&E)"
Visible = 0 'False
Begin VB.Menu MenuEditCut
Caption = "剪切(&C)"
End
Begin VB.Menu MenuEditCopy
Caption = "复制(&Y)"
End
Begin VB.Menu MenuEditFaste
Caption = "粘贴(&P)"
End
End
End
Attribute VB_Name = "Ex9_1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then '如果单击鼠标右键,将弹出"编辑"菜单
Ex9_1.PopupMenu MenuEdit
End If
End Sub
Private Sub MenuFileExit_Click()
End
End Sub