首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时( )。 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
2015-06-30
18
问题
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时( )。
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://jikaoti.com/ti/LQ60FFFM
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
下面______机制允许对一个函数名给出多个函数定义。
数据库系统中实现各种数据管理功能的核心软件称为【】。
在面向对象方法中,信息隐蔽是通过对象的【】性来实现的。
假定建立了一个名为Command1的命令按钮数组,则以下说法中错误的是
在窗体上画一个命令按钮,然后编写如下事件过程:PrivateSubCommand1_Click()Fori=1To4x=4Forj=1To3x=3
在显示字体对话框之前必须设置【】属性,否则,将发生字体不存在的错误。
以下控件可以用来实现定时地执行某段代码的是______。
有一个学生选课的关系,其中学生的关系模式为:学生(学号,姓名,班级,年龄),课程的关系模式为:课程(课号,课程名,学时),其中两个关系模式的键分别是学号和课号,则关系模式选课可定义为:选课(学号,【】,成绩)。
在考生文件夹下有一个工程文件sj5.vbp,功能是用来计算勾股定理整数组合的个数。勾股定理中3个数的关系是:a2+b2=c2。例如,3、4、5就是一个满足条件的整数组合(注意:a,b,c分别为4,3,5与分别为3,4,5被视为同一个组合,不应该重复计算)。
在考生文件夹中有一个工程文件sjt5.vbp。窗体外观如图1-58所示。运行程序,单击“读数据”按钮,文件中的数据被读入字符串变量中并显示在Label2标签中。单击“排序”按钮时,对读入的数据从小到大排序,并将排序结果显示在窗体的Label4控件中。要求:
随机试题
下列可使心输出量增加的情况是
男性,65岁。慢性阻塞性肺疾病7年。10天前受凉后发热,咳嗽加重,痰黏难咳,2天来神志欠清,发绀、躁动,入院体检双肺呼吸音低,有干、湿性啰音,白细胞计数及分类增高。为提供有效治疗,首要检查手段是下列哪项
男性,40岁,因腹股沟可复性肿物3年,突然脱出并伴剧痛10小时,无法还纳,而行急诊手术治疗,术中发现疝囊内肠管发黑,而行肠切除、吻合术后,对于疝的治疗正确的是行
测量高程时,借助于()产生水平视线。
某石化总公司需要安装一套炼化装置,决定将该工程通过招标投标方式确定承包人。经过一系列的投标、决标活动,最后选定某安装工程公司作为承包方。双方经过协商,于2007年2月1日签订了该安装工程承包合同。合同约定:2007年3月1日正式施工。施工前一个月,由石化总
下列各项中,属于原始凭证按照来源不同所分类别的有()。
组织零担货运站工艺流线时,应遵循的原则与要求不包括()。
2001年7月,北京某国内旅行社组织接待了从外地来北京旅游的一个的团队,在参观游览过程中,作为地陪的高某为了节省时间并增加计划以外的游览项目,私自减少了两个计划景点,并一再对客人说,大家到北京来一次不容易,既然来了就应多看一些景点。在征得大多数客人同意并对
制作感觉比例量表的方法有
以下关于局域网描述中,正确的是
最新回复
(
0
)