首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时( )。 Private Sub Click—MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single) Prin
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时( )。 Private Sub Click—MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single) Prin
admin
2020-07-22
27
问题
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时( )。
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
解析
本题中,Lick是控件的名称,MouseDown是鼠标按下事件,当用鼠标左键或右键单击Click控件时就会触发MouseDown事件,执行MouseDown事件过程。故选D。
转载请注明原文地址:https://jikaoti.com/ti/EhS0FFFM
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
在窗体上画一个文本框,名称为Text1(可显示多行),然后再画三个命令按钮,名称分别为Command1、Command2和Cornmand3,标题分别为“读数”、“统计”和“存盘”,如图3.67所示。程序的其功能是:单击“读数”按钮,则把考生目录下的in5
在窗体上画一个名称为Command1的命令按钮,并编写如下程序:PrivateTypeRecord IDAsInteger NameAsString*20EndTypePrivateSubCommand1_Click()
一般情况下,当对关系R和S进行自然连接时,要求R和S含有一个或者多个共有的
假定有如下程序:PrivateSubForm_Click()Dima(4)AsInteger,b(4)AsIntegerFork=0To2a(k+1)=Val(InputBox("请
下列数组定义语句中错误的是
命令按钮Command1的MouseUp事件过程结构如下:PrivateSubCommand1_MouseUp(ButtonAsInteger,ShiftAsInteger,
在考生文件夹下有一个工程文件sjt5.vbp。其窗体中有2个标题分别为“读数据”和“查找水仙花数”的命令按钮。请画1个名称为Text1、初始值为空的文本框,该文本框允许显示多行内容,且有垂直滚动条,如图所示。程序功能如下:(1)考生文件
已知:x=-6y=39则表达式"y\x*Sgn(x)"的值为( )。
某二叉树有5个度为2的结点,则该二叉树中的叶子结点数是
随机试题
下列通用顶级域名中,表示网络服务机构的是【】
上中切牙间生理性间隙原因是
紫外线消毒原理是紫外线作用于
实际观察不是直接以建筑物的有关年限来求取建筑物的折旧,而是注重建筑物的实际损耗程度。()
E-mail顾名思义就是“电子邮件”的意思。下列对E-mail的说法,正确的有()。
12年年末,A公司正在自行建造的一项固定资产出现减值迹象,A公司对其进行减值测试:该固定资产预计将于2013年底达到预定可使用状态,为此将发生净现金流出为240万元,完工后预计可使用3年,根据公司管理层批准的财务预算,A公司将于2015年对资产进行改良,该
甲公司于20×2年5月接受一项产品安装任务,采用完工百分比法确认劳务收入,预计安装期为10个月,合同总收入为300万元,合同预计总成本为200万元。至20×2年年底,甲公司已预收款项240万元,余款在安装完成时收回;至20×2年12月31日,实际发生的成本
舌尖上的乡愁,源自一种家乡的味道。《舌尖上的中国》没有着力于展示菜肴的烹制技巧,而是将镜头对准那些朴实无华的食材以及中国美食背后的浓郁情感。在这部片子里,我们看到,宁波的四世同堂之家难得一聚,曾祖母按古法制作的水磨年糕承载的便是家庭的味道;湘西的苗家人,每
一艘海军的训练船上共有60人,其中有驾驶员、船员、见习驾驶员、见习船员,还有一些陆战队员。已知见习人员的总人数是驾驶员和船员总数的四分之一,船员(含见习船员)总人数是驾驶员(含见习驾驶员)总数的7倍。则船上有()个陆战队员。
Readthecompanyprofilebelowaboutaretailgroup.ChoosethecorrectwordtofilleachgapfromA,BorContheoppositep
最新回复
(
0
)