首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时 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
2020-01-02
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://jikaoti.com/ti/Tvx0FFFM
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
有三个关系R、S和T如下:由关系R和S通过运算得到关系T,则所使用的运算为()。
已知在4行3列的全局数组score(4,3)中存放了4个学生3门课程的考试成绩(均为整数)。现需要计算每个学生的总分,某人编写程序如下:OptionBase1PrivateSubCommand1_Click()Dim
支持子程序调用的数据结构是()。
函数fun如下:PrivateFunctionfun(chAsString)AsIntegerDimn%,st$,C$Fork=1ToLen(ch)C=Mid(ch,k,1)Ifc<>
有下面事件过程:PrivateSubCommandlClick()a=5b=8Fork=1To30c=b-aa=bb=cNextkPrintc
窗体上有两个名称分别为Text1、Text2的文本框,一个名称为Command1的命令按钮。设有如下的类型声明:TypePersonnameAsString*8majorAsString*20EndType
假设用复制、粘贴的方法建立了一个命令按钮数组Command1,以下对该数组的说法错误的是()。
以下叙述中正确的是()。
下列叙述中有错误的是()。
随机试题
能增加混凝土和易性,同时减少施工难度的混凝土外加剂有()。
A头孢他啶B克拉维酸C万古霉素D羧苄西林E头孢曲松治疗严重铜绿假单胞菌感染应选用
某男,28岁。素体羸瘦,有肺结核病史,半年前出现左侧睾丸部隐痛、坠胀,阴囊发凉,伴五心烦热、午后潮热、盗汗、倦怠、腰痠,食少,查:左侧附睾尾部有不规则的局限性结节,质硬,触痛明显,化验血沉38mm/h。诊断为
需夫妻双方同时治疗的炎症是
每股股票所代表的实际资产的价值,可称为()。Ⅰ.内在价值Ⅱ.账面价值Ⅲ.每股净资产Ⅳ.股票净值
国家的教育法规是指由国家制定的关于教育的()
搬运工负重徒步上楼,刚开始保持匀速,用了30秒爬了两层楼(中间不休息);之后每多爬一层多花5秒、多休息10秒。那么他爬到七楼一共用了多少秒?
下面属于黑盒测试方法的是
EachtimeKristyIngramtakesarun,herappsareupandrunningbeforesheeventakesoff."IusetechnologyeverytimeI
Povertyisastoryaboutus,notthemA)Toooftenstill,wethinkweknowwhatpovertylookslike.It’sthewaywe’vebeent
最新回复
(
0
)