首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时 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
37
问题
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时
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/RO60FFFM
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
以下程序的输出结果是【】。x=12.7x=Int(x+0.5)PrintX
单元测试是基础性测试,下列各项中,______不是它通常采用的方法。
结构化程序设计方法的特点大致可分为三点,下列选项中,______不是其特点。
设M=3,N=5,P=4.5,Q=2.5,表达式(M*N+2)/(P-Q)的计算结果为______。
关于MsgBox函数,以下说法不正确的是______。
编写如下代码:DimFlagAsBooleanPrivateSubFormMouseDown(ButtonAsInteger,ShiftAsInteger,XAsSingle,YAsSingle)Flag=T
在VisualBasic中,下列优先级最高的运算符是______。
以下语句执行时,从键盘上输入Zhang,执行结果是______。DimaAsStringa=InputBox("Input","","Name")Printa
表达式2*3^2+4*2/2+3^2的值是
随机试题
Windows操作系统根据扩展名建立了应用程序与文件的关联,但用户不能建立运用关联。()
Ineverycultivatedlanguagetherearetwogreatclassesofwordswhich,takentogether,comprisesthewholevocabulary.First,
A.活疫苗B.死疫苗C.类毒素D.外毒素E.病原体的部分成分破伤风疫苗
维持躯体姿势的最基本方式是
卵子受精部一般是在()
我国《商业银行资本充足率管理办法》规定银行的附属资本不得超过核心资本的()。
OPEN票是机票中的一种,它是()。
野猫队是不可能进入决赛的。如果野猫队进入决赛,那么太阳就从西边出来了。以下哪项与上述论证方式最相似?()
李惠个子比胡戈高;张凤元个子比邓元高;邓元个子比陈小曼矮;胡戈和陈小曼的身高相同。如果上述断定为真,以下哪项也一定为真?
Thesuccessofaspeechisoftenattributedtotheskillofthespeaker,withmeritbeinggiventospeakerswhoareconfident,a
最新回复
(
0
)