首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
窗体的事件过程如下: Private Sub主体_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single) If Shift=6 And Button=2 The
窗体的事件过程如下: Private Sub主体_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single) If Shift=6 And Button=2 The
admin
2021-09-06
26
问题
窗体的事件过程如下:
Private Sub主体_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single)
If Shift=6 And Button=2 Then
MsgBox"Hello World."
End If
End Sub
程序运行后,要在窗体消息框中显示“Hello world.”,在窗体上应执行的操作是( )。
选项
A、同时按下Shift键和鼠标左键
B、同时按下Shift键和鼠标右键
C、同时按下Ctrl、Alt键和鼠标左键
D、同时按下Ctrl、Alt键和鼠标右键
答案
D
解析
在窗体的鼠标事件中,参数Button的值为1表示左键按下,值为2表示右键按下,值为4表示中间按键按下;参数Shift的值为1表示Shift键按下,值为2表示Ctrl键按下,值为4表示Alt键按下。Shift值为6说明是Ctrl键和Alt键同时按下,Button值为2说明是鼠标右键按下。
转载请注明原文地址:https://kaotiyun.com/show/7Hvp777K
本试题收录于:
二级Access题库NCRE全国计算机二级分类
0
二级Access
NCRE全国计算机二级
相关试题推荐
在学生表中要查找年龄大于18岁的男学生,所进行的操作属于关系运算中的
设有课程关系模式如下:R(C#,Cn,T,TA)(其中C#为课程号,Cn为课程名,T为教师名,Ta为教师地址)并且假定不同课程号可以有相同的课程名,每个课程号下只有一位任课教师,但每位教师可以有多门课程。该关系模式可进一步规范化为
要实现报表按某字段分组统计输出,需要设置的是
软件生命周期可分为定义阶段、开发阶段和维护阶段,下面属于开发阶段任务的是
某宾馆中有单人间和双人间两种客房,按照规定,每位入住该宾馆的客人都要进行身份登记。宾馆数据库中有客房信息表(房间号,……)和客人信息表(身份证号,姓名,来源,……);为了反映客人入住客房的情况,客房信息表与客人信息表之间的联系应设计为
在软件设计中不使用的工具是
下列变量名中,合法的是
设有表示学生选课的三张表,学生S(学号,姓名,性别,年龄,身份证号),课程C(课号,课名),选课SC(学号,课号,成绩),则表SC的关键字(键或码)为
下列关于二叉树的叙述中,正确的是
随机试题
根据《招标投标法》的规定,下列关于招标代理机构职责的表述中不正确的是()。
【2009年第4题】题16~20:某企业110kV变电站直流系统电压110V,采用阀控式密闭铅酸蓄电池组,无端电池,单体电池浮充电2.23V,直流系统不带压降装置,充电装置采用一组20A的高频开关电源模块若干个,站内控制负荷、动力负荷合并供电。请回答以下问
电器配线工程应根据其( ),以单线“m”为计算单位,按设计图示尺寸以延长米计算。
蜗轮蜗杆传动是用于传动空间互相()而不相交的两轴间的运动
在邀请招标的程序中( )。
当事人对其所受的行政处分不服的,只能通过()来解决。
某企业发行债券,票面利率10%,发行费率为2%,所得税率为33%,则债券资金成本为()。
阅读以下说明,回答问题l至问题3,将解答填入答题纸的对应栏内。【说明】现代软件的飞速发展,使得系统对软件的依赖越来越强,对软件可靠性的要求也越来越高,因此发展以发现软件可靠性缺陷为目的的可靠性测试技术也日益迫切。解释说明软件可靠性测试的目的
Itisdangeroustowalkthroughathickforest______awinterafternoonwithoutaguide.
Rockclimbingisanactivityinwhichparticipantsclimbup,downoracrossnaturalrockformationsorartificialrockwalls.Th
最新回复
(
0
)