首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时( )。 Private Sub Click_MouseDown(Button As Integer, Shift As Integer,X As Single,Y As Single) Print
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时( )。 Private Sub Click_MouseDown(Button As Integer, Shift As Integer,X As Single,Y As Single) Print
admin
2018-07-11
29
问题
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时( )。
Private Sub Click_MouseDown(Button As Integer, Shift As Integer,X As Single,Y As Single)
Print "VB Program"
End Sub
选项
A、用鼠标左键单击名称为"Command1"的命令按钮时,执行此过程
B、用鼠标左键单击名称为"MouseDown"的命令按钮时,执行此过程
C、用鼠标右键单击名称为"MouseDown"的控件时,执行此过程
D、用鼠标左键或右键单击名称为"Click"的控件时,执行此过程
答案
D
解析
本题中,Click是控件的名称,MouseDown是鼠标按下事件,当用鼠标左键或右键单击Click控件时就会触发MouseDown事件,执行MouseDown事件过程。故选D。
转载请注明原文地址:https://kaotiyun.com/show/rOGp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
为了使窗体的大小可以改变,必须把它的BorderStyle属性设置为()。
要求当鼠标在图片框P1中移动时,立即在图片框中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是()。
下列排序方法中,最坏情况下比较次数最少的是()。
以下关于事件、事件驱动的叙述中,错误的是()。
执行以下程序段:a$=“VisualBasicProgramming”b$:“C++”c$=UCase(Left$(a$,7))&b$&Right$(a$,12)后,变量c$的值为()。
在窗体上画一个通用对话框,程序运行中用ShowOpen方法显示“打开”对话框时,希望在该对话框的“文件类型”栏中只显示扩展名为DOC的文件,则在设计阶段应把通用对话框的Filter属性设置为
产生100以内(不含100)2位随机整数的VisualBasic表达式是
若要清除列表框控件中i的所有列表项,应该使用的方法是
能够产生1到50之间(含1和50)随机整数的表达式是
有以下通用过程:FunctionfunfNAsInteger)s=0Fork=1ToNS=S+k*(k+1)Nextkfun=sEndFunction该过程的功能是
随机试题
箱体类工件划线时怎样选择基准?
何谓内环境的稳态?
A.高流量乙醇湿化给氧B.中流量间歇性给氧C.给予面罩加压纯氧D.低流量持续给氧E.低流量间歇给氧急性心肌梗死()
患者,女,35岁。高处坠落,左枕着地,进行性意识障碍,1小时后右侧瞳孔散大。最有效的治疗方法是
(2013年)关于具体行政行为的合法性与效力,下列哪些说法是正确的?
某市混凝土公司新建临时搅拌站,在试运行期间通过暗管将污水直接排放到周边,严重破坏当地环境。公司经理还指派员工潜入当地环境监测站内,用棉纱堵塞空气采集器,造成自动监测数据多次出现异常。有关部门对其处罚后,公司生产经营发生严重困难,拟裁员20人以上。
新学期伊始,高老师开设了素描写生课程,第一节的《静物写生》课,高老师选用了演示法教学。下列教学方法中不属于演示法的是()。
【材料一】亚太经合组织第十九次领导人非正式会议于2011年11月13日在美国夏威夷州首府檀香山举行。这次会议以“紧密联系的区域经济”为主题,主要讨论亚太地区经济增长、区域经济一体化、绿色增长、能源安全、规制合作等议题。国家主席胡锦涛出席会议并发表重要讲
CementwasseldomusedinbuildingduringtheMiddleAges.
(1)AnothermilestoneonthejourneytowardsdigitalcashwaspassedonNovember13th.Thatdatemarkedtheemergencefrombeta-
最新回复
(
0
)