题目内容:
在以下事件过程中,可以在用户按下鼠标右键时,显示一个上边框,以鼠标当前位置为中心的弹出式菜单,而且这个弹出式菜单还可以识别右键对菜单命令的选择,相应的选项是( )。
A.PrivateSubForm_MouseUp(ButtonAsInteger,ShiftAsInteger,_ XAsSingle,YAsSingle)
IfButton=2Then
PopupMenumnuEdit,vbPopupMenuCenterAlignOr_
vbPopupMenuRightButton,X,Y,mnuEditOpen
EndIf
EndSub
B.PrivateSubForm_MouseUp(ButtonAsInteger,ShiftAsInteger,_
XAsSingle,YAsSingle)
IfButton=2Then
PopupMenumnuEdit,
EndIf
EndSub
C.PrivateSubForm_MouseUp(ButtonAsInteger,ShiftAsInteger,_
XAsSingle,YAsSingle)
PopupMenumnuEdit,vbPopupMenuCenterAlignOr_
vbPopupMenuRightButton
EndSub
D.PrivateSubForm_MouseUp(ButtonAsInteger,_
ShiftAsInteger,XAsSingle,YAsSingle)
IfButton=2Then
PopupMenumnuEdit,2
EndIf
EndSub
参考答案:
答案解析: