模拟试题

3773考试网计算机等级考试模拟试题正文

2010年3月计算机等考二级VB模拟题及解析(2)

来源:fjzsksw.com 2010-1-28 15:57:20

 

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

  A) Private Sub Form_MouseDown(Button As Integer, Shift As Integer, _

  X As Single, Y As Single)

  If Button=2 Then PopupMenu Bt, 2

  End Sub

  B) Private Sub Form_MouseDown(Button As Integer, Shift As Integer, _

  X As Single, Y As Single)

  PopupMenu Bt

  End Sub

  C) Private Sub Form_MouseDown(Button As Integer, Shift As Integer, _

  X As Single, Y As Single)

  PopupMenu Bt,0

  End Sub

  D) Private Sub Form_MouseDown(Button As Integer, Shift As Integer, _

  X As Single, Y As Single)

  If (Button=vbLeftButton) Or (Button=vbRightButton) Then PopupMenu Bt

  End Sub

  正确答案: A

 

 << 上一页  [11] [12] [13] [14] [15] [16] [17] [18] 下一页

触屏版 电脑版
3773考试网 琼ICP备12003406号-1