在以下事件过程中,可以在用户按下鼠标右键时,显示一个上边框,以鼠标当前位置为中心的弹出式菜单,而且这个弹出式菜单还可以识别右键对菜单命令的选择,相应的选项是( )。A.Private Sub Form_MouseUp(Button As Integer, Shift As Integer, _X As Single, Y As Single)If Button=2 ThenPopupMenu mnuEdit, vbPopupMenuCenterAlign Or _vbPopupMenuRightButton, X, Y, mnuEditOpenEnd IfEnd SubB.Private Sub Form_MouseUp(Button As Integer, Shift As Integer, _X As Single, Y As Single)If Button=2 ThenPopupMenu mnuEdit,End IfEnd SubC.Private Sub Form_MouseUp(Button As Integer, Shift As Integer, _X As Single, Y As Single)PopupMenu mnuEdit, vbPopupMenuCenterAlign Or _vbPopupMenuRightButtonEnd SubD.Private Sub Form_MouseUp(Button As Integer , _Shift As Integer, X As Single, Y As Single)If Button=2 ThenPopupMenu mnuEdit, 2End IfEnd Sub

在以下事件过程中,可以在用户按下鼠标右键时,显示一个上边框,以鼠标当前位置为中心的弹出式菜单,而且这个弹出式菜单还可以识别右键对菜单命令的选择,相应的选项是( )。

A.Private Sub Form_MouseUp(Button As Integer, Shift As Integer, _

X As Single, Y As Single)

If Button=2 Then

PopupMenu mnuEdit, vbPopupMenuCenterAlign Or _

vbPopupMenuRightButton, X, Y, mnuEditOpen

End If

End Sub

B.Private Sub Form_MouseUp(Button As Integer, Shift As Integer, _

X As Single, Y As Single)

If Button=2 Then

PopupMenu mnuEdit,

End If

End Sub

C.Private Sub Form_MouseUp(Button As Integer, Shift As Integer, _

X As Single, Y As Single)

PopupMenu mnuEdit, vbPopupMenuCenterAlign Or _

vbPopupMenuRightButton

End Sub

D.Private Sub Form_MouseUp(Button As Integer , _

Shift As Integer, X As Single, Y As Single)

If Button=2 Then

PopupMenu mnuEdit, 2

End If

End Sub


相关考题:

快捷方式是Windows所独创的一种快速、简捷的操作方法,在通常情况下,用户可以通过(),在屏幕上弹出一个快速菜单来进行创建。A)单击鼠标左键B)单击鼠标右键C)双击鼠标左键D)双击鼠标右键

以下说法中正确的是A.MouseUp事件是鼠标向上移动时触发的事件B.MouseUp事件过程中的x,y参数用于修改鼠标位置C.在MouseUp事件过程中可以判断用户是否使用了组合键D.在MouseUp事件过程中不能判断鼠标的位置

鼠标与键盘事件的常用属性inaxes的含义()。 A.鼠标经过轴域时表示当前Axes轴域实例B.鼠标当前位置的x坐标,单位与轴域坐标相同C.鼠标当前位置的y坐标,单位与轴域坐标相同D.鼠标按下的键,1表示左键,2表示中键,3表示右键

鼠标与键盘事件的常用属性xdata的含义()。 A.鼠标当前位置的x坐标,单位与轴域坐标相同B.鼠标当前位置的y坐标,单位与轴域坐标相同C.鼠标按下的键,1表示左键,2表示中键,3表示右键D.鼠标经过轴域时表示当前Axes轴域实例

鼠标与键盘事件的常用属性Ydata的含义()。 A.鼠标按下的键,1表示左键,2表示中键,3表示右键B.鼠标当前位置的y坐标,单位与轴域坐标相同C.鼠标当前位置的x坐标,单位与轴域坐标相同D.鼠标经过轴域时表示当前Axes轴域实例

在以下事件过程中,可以在用户按下鼠标右键时,显示一个上边框,以鼠标当前位置为心的弹出式菜单,而且这个弹出式菜单还可以识别右键对菜单命令的选择,相应的选项;A.Private Sub Form. _ Mouse Up(Button As Integer,Shift AS Integer,_ X As Single,Y As Single) If Button=2 Then PopupMenu mnuEdit,vbPopupMenuCenterAlign Or_ vbPopupMenuRightButton,X,Y,mnuEditOpen End If End SubB.Private Sub Form. _ MouseUp(Button AS Integer,Shift AS Integer,_ X As Single,Y As Single) If Button=2 Then PopupMenu mnuEdit, End If End SubC.Private Sub Form. _ MouseUp(Button AS Integer,Shift AS Integer,_ X As Single,Y As Single) PopupMenu mnuEdit,vbPopupMenuCenterAlign Or_ vbPopupMenuRightButton End SubD.Private SUb Form. _ MouseUp(Button AS Integer,_ Shift As Integer,X As Single,Y As Single) If Button=2 Then PopupMenu mnuEdit,2 End If End Sub

编写如下事件过程:程序运行后,为了在窗体上输出“BBBB”,应执行的操作为( )。A. 同时按下Shift键和鼠标左键B. 同时按下Shift键和鼠标右键C. 司时按下Ctrl、Alt键和鼠标左键D. 同时按下Ctrl、Alt键和鼠标右键

以下说法中正确的是( )。A.MouseUp事件是鼠标向上移动时触发的事件B.MouseUp事件过程中的X,Y参数用于修改鼠标位置C.在MouseUp事件过程中可以判断用户是否使用了组合键D.在MouseUp事件过程中不能判断鼠标的位置

动态HTML事件“OnmouseOver”表示()A、用户将鼠标移动到页面元素之上时触发该事件B、用户移动鼠标时触发该事件C、用户释放鼠标左键时触发该事件D、用户按下鼠标左键时触发该事件