二级二级VB2014年全国计算机等级《二级VB》上机考试冲刺试题(1)
题目内容

设已经在"菜单编辑器"中设计了窗体的快捷菜单,其顶级菜单为Bs ,取消其"可见"属性,运行时,在以下事件过程中,可以使快捷菜单响应鼠标右键菜单的是(  )。

2024-07-09

A.Private Sub Form_MouseDown(Button As Integer ,Shift As Integer ,X As Si ngle ,Y As Si ngle) If Button =2Then Popup Menu Bs ,2End Sub

B.Private Sub Form_MouseDown(Button As Integer ,ShiftAs Integer ,X As Single ,Y As Single) Popup Menu BsEnd Sub

C.Private Sub Form_MouseDown(Button As Integer ,ShiftAs Integer ,X As Single ,Y As Single) Popup Menu Bs ,0End Sub

D.Private Sub Form_MouseDown(Button As Integer ,ShiftAs Integer ,X As Single ,Y As Single) If (Button =vbLeftButton)Or (Button =vbRightButton)Then Popup Menu BsEnd Sub

题目答案

试卷相关题目

最新试卷
热门试卷

长理培训客户端 资讯,试题,视频一手掌握

去 App Store 免费下载 iOS 客户端