首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
编写如下事件过程: Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer) If(Buuon And 3)=3 Then Print "AAAA"
编写如下事件过程: Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer) If(Buuon And 3)=3 Then Print "AAAA"
admin
2010-03-30
37
问题
编写如下事件过程: Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer) If(Buuon And 3)=3 Then Print "AAAA" End If End Sub 程序运行后,为了在窗体上输出“AAAA”,应按下的鼠标键为 ______。
选项
A、左
B、右
C、同时按下左、右
D、按什么键都不显示
答案
8
解析
从题目中的程序可以看出,(Button And 3)=3这个条件是永假的,所以输出语句也永远不会被执行。
转载请注明原文地址:https://kaotiyun.com/show/phmp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
不属于响应鼠标事件的监听器中方法的是()。
有三个关系R、S和T如下: 则由关系R和S得到关系T的操作是
为了向一个Applet传递参数,可以在HTML文件的Applet标志中使用PARAM选项。在Applet程序中获取参数时,应使用的方法是【】。
在java.lang.object中,存在两个可以完成线程同步,并且实现线程通信的方法,它们是( )。
在结构化方法中,软件功能分解属于下列软件开发中的阶段是( )。
算法复杂度主要包括时间复杂度和【】复杂度。
下列代码中,将引起编译错误的行是( )。①publicclasstest{②publicstaticvoidmain(Stringargs[]){③floatf=0.0;④f+=1.0;
在E-R图中矩形表示【】。
下列哪个关键字通常用来对对象进行加锁,该标记使得对对象的访问是排他的?
对于长度为n的线性表,在最坏情况下,下列各排序法所对应的比较次数中正确的足()。
随机试题
能加快反应速度的催化剂为正催化剂。 ()
该病儿最可能的诊断是应采取的措施为
为现代医学影像学的建立开辟先河的是
下列不属于辨证内容的是
朴某系知名美容专家。某医院未经朴某同意,将其作为医院美容专家在医院网站上使用了朴某照片和简介,且将朴某名字和简介错误地安在了其他专家的照片旁。下列哪一说法是正确的?()(09年司考.卷三.单24)
厂商经营决策的利润最大化原则(或亏损最小条件)是()。
根据《票据法》规定,票据债务人可以在下列情况下对持票人行使抗辩权( )。
上市公司接受关联方委托,经营关联方委托的企业,上市公司应按以下()孰低的金额,确认为其他业务收入。
Heartdisease,cancerandstroke(中风)arenowthetopkillersofmiddle-agedpeopleinChina,followedbyhighbloodpressurean
Thefirststeptodefeatinganenemyistopindownhisexactidentityandhowheoperates.Hypertension—chronic,abnormallyrai
最新回复
(
0
)