假定已经在菜单编辑器中建立了窗体的弹出式菜单,其顶级菜单的名称为a1,其“可见”属性为False,则程序运行后,可以同时响应鼠标左键单击和右键单击的事件过程是 ______。A.Private Sub Form_ MouseDown (Button As Integer, _ Shift As Integer, X As Single, Y As SinglE)If Button = 1 And Button = 2 Then PopupMenu al End If End SubB.Private Sub Form_ MouseDown (Button As Integer, _ Shift As Integer, X As Single, Y As SinglE)PopupMenu a1 End SubC.Private Sub Form_ MouseDown (Button As Integer, _ Shift As Integer, X As Single, Y As SinglE)If Button = 1 Then PopupMenu a 1 End If End SubD.Private Sub Form_ MouseDown(Button As Integer, _ Shift As Integer, X As Single, Y As SinglE)If Button = 2 Then PopupMenu a 1 End If End Sub

假定已经在菜单编辑器中建立了窗体的弹出式菜单,其顶级菜单的名称为a1,其“可见”属性为False,则程序运行后,可以同时响应鼠标左键单击和右键单击的事件过程是 ______。

A.Private Sub Form_ MouseDown (Button As Integer, _ Shift As Integer, X As Single, Y As SinglE)If Button = 1 And Button = 2 Then PopupMenu al End If End Sub

B.Private Sub 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 a 1 End If End Sub

D.Private Sub Form_ MouseDown(Button As Integer, _ Shift As Integer, X As Single, Y As SinglE)If Button = 2 Then PopupMenu a 1 End If End Sub


相关考题:

假定已经在菜单编辑器中建立了窗体的弹出式菜单,其顶级菜单项的名称为a1,其“可见”属性为False。程序运行后,单击鼠标左键或右键都能弹出菜单的事件过程是A.Private Sub Form_MouseDown(Button As Integer,_ Shift As Integer,X As Single,Y As Single) If Button=1 And Button=2 Then PopupMenu a1 End If End SubB.Private Sub Form_MouseDown(Button As Integer,_ Shift As Integer,X As Single,Y As Single) PopupMenu a1 End SubC.Private Sub Form_MousoDown(Button As Integer,_ Shift As Integer,X As Single,Y As Single) If Button=1 Then PopupMenu a1 End If End SubD.Private Sub Form_MouseDown(Button As Integer,_ Shift As Integer,X As Single,Y As Single) If Buaon=2 Then PopupMenu a1 End If End Sub

以下关于弹出式菜单的叙述中,错误的是( )。A.一个窗体只能有一个弹出式菜单B.弹出式菜单在菜单编辑器中建立C.弹出式菜单的莱单名(主菜单项)的“可见”属性通常设置为FalseD.弹出式菜单通过窗体的PopupMenu方法显示

以下叙述中错误的是A.下拉式菜单和弹出式菜单都用菜单编辑器建立B.在多窗体程序中,每个窗体都可以建立自己的菜单系统C.除分隔线外,所有菜单项都能接收Click事件D.如果把一个菜单项的Enabled属性设置为False,则该菜单项不可见

已知在菜单编辑器中设计了窗体的快捷菜单,其主菜单为a1,且取消其“可见”属性,如图2所示。运行时,以下( )事件过程可以使快捷菜单的菜单项响应鼠标右键单击。

以下关于弹出式菜单的叙述中,错误的是A)一个窗体只能有一个弹出式菜单B)弹出式菜单在菜单编辑器中建立C)弹出式菜单的菜单名(主菜单项)的“可见”属性通常设置为falseD)弹出式菜单通过窗体的popupmenu方法显示

下列关于菜单的叙述中,错误的是( )。A.当窗体为活动窗体时,用键可以打开菜单编辑器B.把菜单项的Enabled属性设置为False,则可删除该菜单项C.弹出式菜单在菜单编辑器中设计D.程序运行时。利用控件数组可以实现菜单项的增加或减少

假定已经在菜单编辑器中建立了窗体的弹出式菜单,其顶级菜单的名称为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 SubB.Private Stlb Form_MouseDown(Button As Integer,_Shift As Integer,X As Single, Y As Single) PopupMenu a1 End SubC.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 SubD.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

以下叙述中错误的是A.下拉式菜单和弹出式菜单都用编辑器建立B.在多窗体程序中,每个窗体都可以建立自己的菜单系统C.除分隔线外,所有菜单项都能接收Click事件D.如果将一个菜单项的Enabled属性设置为False,则该菜单项不可见

以下叙述中错误的是( )。A.下拉式菜单和弹出式菜单都用菜单编辑器建立B.在多窗体程序中,每个窗体都可以建立自己的菜单系统C.除分隔线外,所有菜单项都能接收Click事件D.如果把一个菜单项的Enabled属性设置为False,则该菜单项不可见