首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时 Private Sub Click_MouseDown(Button As Integer,_Shift As Integer,X As Single,Y As Single)
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时 Private Sub Click_MouseDown(Button As Integer,_Shift As Integer,X As Single,Y As Single)
admin
2013-10-16
36
问题
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时
Private Sub Click_MouseDown(Button As Integer,_Shift As Integer,X As Single,Y As Single)
Print”VB Program”
End Sub
选项
A、用鼠标左键单击名称为“Commandl”的命令按钮时,执行此过程
B、用鼠标左键单击名称为“MouseDown”的命令按钮时,执行此过程
C、用鼠标右键单击名称为“MouseDown”的控件时,执行此过程
D、用鼠标左键或右键单击名称为“Click”的控件时,执行此过程
答案
D
解析
鼠标按下事件(MouseDown)适用于窗体和大多数控件,包括复选框、命令按钮、单选按钮、框架、文本框、目录框、文件框、图像框、图片框、标签、列表框等。事件过程名格式为:控件名事件名,故本题Pfivate Sub Click MouseDown中的Click应为控件名。
转载请注明原文地址:https://kaotiyun.com/show/4hQp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
以下程序的输出结果是【】。x=12.7x=Int(x+0.5)PrintX
下列程序执行时,从键盘上依次输入123和234,则程序的输出结果是【】。a=InputBox("请输入第一个整数")b=InputBox("请输入第二整数")Printa+b
下列语句的输出结果是【】。PrintInt(12345.6789*100+0.5)/100
软件开发的结构化设计(SD)方法中,全面指导模块划分的最重要原则是______。
结构化程序设计方法主要是为______服务的。
从未排序序列中依次取出元素与已排序序列(初始时为空)中的元素进行比较,将其放入已排序序列正确位置上的方法,称为【】。
a=10,b=6,以下语句不能在当前窗体中输出“a+b=16"的是______。
以下语句的输出结果是______。a=123b=456Printa;b
下面关于VisualBasic6.0工具栏的说法不正确的是______。
使用PublicConst语句声明一个全局的符号常量时,该语句应放在______。
随机试题
在我国,有权决定特别行政区的设立及其制度的是()
简述品牌策略的主要类型。
下列哪种抗心律失常药物属Ia类
A.肾脏受损表现:血尿、蛋白尿、肾功能减退B.血小板减少C.溶血性贫血D.以上都有E.以上都没有女、2岁,发热3天,排尿时哭闹,尿色黄浑。体检:高热病容,可能诊断为
女,76岁。患冠心病10年,近1个月反复发作心悸、胸痛。数分钟前突然晕倒,意识丧失,皮肤苍白,唇绀,大动脉搏动扪及不到,呼吸停止,最可能的原因是
下列关于成本和费用的表述中正确的是( )。
下列各项属于会计核算的一般原则的有()。(1.1)
可以设定抵押权的房产作为抵押物的,贷款最高额不得超过经贷款银行认可的抵押物价值的()。
在传播媒介高度发达、手段日趋多样、内容明显商业化与娱乐化的今天,“科学家明星化”成为新的社会现象。为了获取名利、好处,有的科学家刻意通过媒体对自己的科研成果进行包装、宣传。对此,有些专家认为科学家不应热衷于包装、宣传,应该靠扎实有效的研究工作进而取得科学界
R1,R2是一个自治系统中采用RIP路由协议的两个相邻路由器,R1的路由表如下图(A)所示,当R1收到R2发送的如下图(B)的(V,D)报文后,R1更新的五个路由表项中距离值从上到下依次为
最新回复
(
0
)