[单选题]

假定有如下事件过程:

Private Sub Form_MouseDown(Button As Integer,Shift As Integer,x As Single)

If Button=2 Then

PopupMenu popForm.

E.nd If

E.nd Sub

则以下描述中错误的是

A.该过程的功能是弹出一个菜单

B.popForm是在菜单编辑器中定义的弹出式菜单的名称

C.参数x、y指明鼠标的当前位置

D.Button=2表示按下的是鼠标左键

参考答案与解析:

相关试题

假定有如下事件过程: Private Sub Form_MouseDown(Bu