单项选择题

执行以下Commaand1的Click事件过程在窗体上显示( )。
Option Base 0
Prinvate Sub Command1_Clcik()
Dim a
a=Array("a","b","C","d","e","f","g")
Print a(1);a(3);a(5)
End Sub

A.abc
B.bdf
C.ace
D.出错
<上一题 目录 下一题>
热门 试题

单项选择题
可决定窗体左上角是否有控制菜单的属性是( )。
A.ControlBox
B.MinButton
C.MaxButton
D.BorderStyle
单项选择题
设已经在菜单编辑器中设计了窗体的快捷菜单,某顶级菜单为a1,且取消其“可见”属性。运行时,以下( )事件过程可以使快捷菜单的菜单项响应鼠标左键单击和右键单击。
A.Private Sub Form_Mouse Down(Button As Integer,Shift As Integer,_X As Single,Y As Single)
If Button=2 Then PopupMenu a1,2
End Sub
B.Private Sub Form Mouse Down(Button As Integer,Shift As Integer,_X As Single,Y As Single)
PopupMenu a1,0
End Sub
C.Private Sub Form_Mouse Down(Button As Imeger,Shift As Integer,_X As Single,Y As Single)
PopupMenu a1
End Sub
D.Private Sub Form_Mouse Down(Button As Integer,Shift As Integer,_X As Single,Y As Single)
If (Button=vbLetfButton)Or(Button=vbRightButton)Then PopupMenu a1
End Sub
相关试题
  • NotEOF(1)
  • 语句Print Int(-13.2)= ;Int(...
  • For Input
  • 窗体中有图片框(Picturel)和计时器(Time...
  • 执行下列程序,输入数字3,则输出结果为_...