1. [单选题]如果文本框的InputMask属性值是#99999,允许在文本框中输入的是______。
A. +12345
B. abcl23
C. $12345
D. abcdef
2. [单选题]设已经在菜单编辑器中设计了窗体的快捷菜单,某顶级菜单为a1,且取消其“可见”属性。运行时(run-time),以下( )事件过程可以使快捷菜单的菜单项响应鼠标左键单击和右键单击。
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
3. [单选题]在当前打开的表中,显示“地址”以“北京市”打头的所有仓库,正确的命令是( )。
A. list for地址=”北京$”
B. list for地址:”北京市”
C. list for地址=”北京%”
D. list where地址:”北京市”