单选

假定已经在菜单编辑器中建立了窗体的弹出式菜单,其顶级菜单的名称为al,其“可见”属性为False。程序运行后,单击鼠标左键或右键都能弹出菜单的事件过程是(  )。

  • A.Private Sub Form_MouseDown(Button As Integer,_Shift As Integer,X As Single,    Y As Single)
  • If Button=1 And Blltton=2Then    PopupMenu a1
  • End If
  • End Sub
  • B.Private Stlb Form_MouseDown(Button As Integer,_Shift As Integer,X As Single,    Y As Single)    PopupMenu a1
  • End Sub
  • C.Private Sub Form—MouseDown(Button As Integer,_Shift As Integer,X As Single,    Y As Single)
  • If Button=1 Then    PopupMenu a1
  • End If
  • End Sub
  • D.Private Sub Form. MouseDown(Button As Integer,_Shift As Integer,X As Single,    Y As Single)
  • If Buttcn=2 Then    PopupMenu a1
  • End If
  • End Sub
参考答案
您可能感兴趣的试题

阅读程序:

Private Sub Form. Click( )

  • a=0
  • For j=1 To 15
  • a=a+j Mod 3    Next j    Print a
  • End Sub    程序运行后,单击窗体,输出结果是( )。
  • A.105
  • B.1
  • C.120
  • D.15

把数学表达式表示为正确的VB表达式应该是(  )。

  • A.(5x+3)/(2y-6)
  • B.x*5+3/2*y-6
  • C.(5*x+3)÷(2*y-6)
  • D.(x*5+3)/(y*2-6)

以下关于KeyPress事件过程中参数KeyAscii的叙述正确的是(  )。

  • A.KeyAscii参数是所按键的ASCII码
  • B.KeyAscii参数的数据类型为字符串
  • C.KeyAscli参数可以省略
  • D.KeyAscii参数是所按键上标注的字符
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服