首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
窗体的事件过程如下: Private Sub主体_MouseDown(Button AsInteger,Shift As Integer,X As Single,Y As Single) If Shift=6 And Button=2 Th
窗体的事件过程如下: Private Sub主体_MouseDown(Button AsInteger,Shift As Integer,X As Single,Y As Single) If Shift=6 And Button=2 Th
admin
2019-04-13
27
问题
窗体的事件过程如下:
Private Sub主体_MouseDown(Button AsInteger,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/OU0p777K
本试题收录于:
二级Access题库NCRE全国计算机二级分类
0
二级Access
NCRE全国计算机二级
相关试题推荐
VBA语句“DimNewArray(10)asInteger”的含义是()。
下列关于空值的叙述中,正确的是
下列叙述中,错误的是
在代码中定义了一个子过程:SubP(a,b)EndSub下列调用该过程的形式中,正确的是
运行下列程序,显示的结果是PrivateSubCommand34_Click()i=0DOi=i+1LoopWhilei<10MsgBoxiEndSub
在SOL语言的SELECT语句中,用于指明检索结果排序的子句是
考生文件夹下存在一个数据库文件“samp3.accdb”,里面已经设计了表对象“tEmp”、窗体对象“fEmp”、报表对象“rEmp”和宏对象“mEmp”。请在此基础上按照以下要求补充设计:将表对象“tEmp”中“聘用时间”字段的格式调整为“长日期”显
一个工作人员可以使用多台计算机,而一台计算机可被多个人使用,则实体工作人员与实体计算机之间的联系是( )。
下面对软件测试和软件调试有关概念叙述错误的是
下面不属于软件测试实施步骤的是
随机试题
关于随机抽样,下列说法哪一项是正确的
真核mRNA3'端特征是可作为第二信使的是
张女士,35,患原发性甲状腺功能亢进。入院后在清晨来起床前测患者脉搏110次/min,血压140/80mmHg,拟在服用复方碘化钾溶液等术前准备后,择期行甲状腺大部切除术。按简便公式计算,该患者的基础代谢率(BMR)为
下列关于估价报告的说法中,不正确的有()。
()是营销者通过市场调研,根据整体市场上客户需求的差异性,以影响客户需求和欲望的某些因素为依据,把某一产品的市场整体划分为若干消费者群的市场分类过程。
下列选项中,哪一个不是义务教育的基本特征()。
教学反思有哪些方法?
“开而弗达”体现了教学的()
简述教师职业道德评价的方法。
Isanti-whitebiasaproblem?Anewstudysayswhitesthinkdiscriminationagainstthemisabiggerproblemthananti-blackbias
最新回复
(
0
)