首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
假定有如下事件过程: Private Sub Form MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single) If Button=2 Then
假定有如下事件过程: Private Sub Form MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single) If Button=2 Then
admin
2009-02-13
43
问题
假定有如下事件过程: Private Sub Form MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single) If Button=2 Then PopupMenu popForm End if End Sub 则以下描述中错误的是______。
选项
A、该过程的功能是弹出一个菜单
B、popForm是在菜单编辑器中定义的弹出式菜单的名称
C、参数X、Y指明鼠标的当前位置
D、Button=2表示按下的是鼠标左键
答案
8
解析
Visual Basic中没有提供专门的鼠标右击事件,但是在窗体的MouseDown事件里面,通过Button的值可以判断以后单击鼠标的键,当Button=1时,表示用户单击了鼠标左键。当Button=2时,表示用户单击了鼠标右键。因此应该选择D。Visual Basic中常常在MouseDown事件过程中调用PopupMenu方法弹出菜单。
转载请注明原文地址:https://kaotiyun.com/show/472p777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
在Java中,用package语句说明一个包时,该包的层次结构必须是
数据库设计包括两个方面的设计内容,它们是
下列程序的输出结果是_______。classTest{publicstaticvoidmain(Stringargs[]){intm=6;do{m--:}while(m>0);System.out.p
ActionEvent事件相应的监听器接口是
软件计划是软件开发的早期和重要阶段,此阶段要求交互和配合的是()
一些重要的程序语言(如C语言和Pascal语言)允许过程的递归调用。而实现递归调用中的存储分配通常用()
已知二叉树后序遍历序列是dabec,中序遍历序列是debac,它的前序遍历序列是()
ODL转换关系时,若为原子类型属性,类的每个属性对应关系的一个属性;若为结构类型,其每个元素为关系的一个属性;若为数组,则按元素的个数即可扩展为______,也可扩展为多个属性。
要表示表格的数据,需要继承类()。
算法的复杂度主要包括【】复杂度和空间复杂度。
随机试题
根据支付结算法律制度的规定,下列关于商业汇票付款期限记载形式的表述中,不正确的是()。
急性肾炎的前驱感染以呼吸道及皮肤感染为主。
A.龈上菌斑B.龈下菌斑C.颌面窝沟菌斑D.邻面菌斑E.光滑面菌斑使用牙线清除的菌斑是
与Ⅱ型超敏反应无关的成分是
红外吸收光谱又称
标的物毁损、灭失的风险由买受人承担的情况有()。
(2008年吉林)中国岂术市场又让经验丰富的专业人士瞠目结舌,美国一家主流媒体认为,无论以何种标准来衡量,目前在克里斯蒂拍卖行取得的2630万美元总拍卖额也属非比寻常的巨大成功。《国际先驱论坛报》就此刊发文章说:中国艺术品热拉动了纽约拍卖市场。出席拍卖会的
下列表述的中国古代朝代帝王在位先后顺序排列错误的是()。
关于非法吸收公众存款罪,下列说法正确的是()。
Abouttwo-thirdsoftheworld’spopulationisexpectedtoliveincitiesbytheyear2020and,accordingtotheUnitedNations,
最新回复
(
0
)