首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
设有如下事件过程: Private Sub Form_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single) If Bumon=2 Then Pop
设有如下事件过程: Private Sub Form_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single) If Bumon=2 Then Pop
admin
2019-03-14
23
问题
设有如下事件过程:
Private Sub Form_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single)
If Bumon=2 Then
PopupMenu popMenu
End If
End Sub
则以下描述中错误的是( )。
选项
A、该过程的功能是弹出一个菜单
B、popMenu是在菜单编辑器中定义的弹出式菜单的名称
C、参数X、Y指明鼠标的当前位置
D、Button=2表示按下的是鼠标左键
答案
D
解析
本题考查鼠标事件和弹出菜单。鼠标状态事件有按下(MouseDown)、移动(MouseMove)和弹起(MouseUp),这几种事件能够通过参数区分出鼠标的左键、右键和中间键,鼠标键的对应值及其说明为:1-用户按下左键触发了鼠标事件;2-用户按下右键触发了鼠标事件:4-用户按下中间键触发了鼠标事件。PopupMenu为弹出菜单方法,popMenu为菜单名。题目中程序的功能是当鼠标按下右键时弹出菜单popMenu。
转载请注明原文地址:https://kaotiyun.com/show/HsUp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
以下关于VB的叙述中,错误的是
文本框Textl的KeyDown事件过程如下:PrivateSubTextl_KeyDown(KeyCodeAsInteger,ShiftAsInteger)…EndSub其中参数KeyCode的值表示的是发生此事件时
窗体上有1个名称为Commandl的命令按钮,事件过程如下:PrivateSubCommandl_Click()Dimx%,y%,z%x=InputBox(“请输入第1个整数”):y=InputBox(“请输入第2个整数”)DoUntil
文件d:\city.txt的内容如下:BeiJingTianJinShangHaiChongQing编写如下事件过程:PrivateSubFormClick()DimInDOpen“d:\city.txt”ForInputAs
语句:PrintAsc(Chr$(Mid$(“98765432”,4,2)))的输出是
一棵二叉树共有25个结点,其中5个是叶子结点,则度为1的结点数为
在关系模型中,每一个二维表称为一个
在数据库系统的组织结构中,下列()映射把用户数据库与概念数据库联系了起来。
有两个关系R和T如下:则由关系R得到关系T的操作是
某二树有5个度为2的结点,则该二叉树中的叶子结点数是()。
随机试题
在下列的极限求解中,正确的是()。
某宗土地预计未来每年净收益为16万元,该类房地产的报酬率为9%,假设该宗土地的年限为无限年,则该宗土地的价值为()万元。
下列属于硬件的脆弱性可能给数据安全带来风险的因素是()。
直属海关是负责办理具体海关业务的海关,是海关进出境监督管理职能的基本执行单位。
“宝路”牌狗粮罐头(250克零售包装、罐装)
根据对外贸易法律制度的规定,下列表述中,正确的有()。
认知内驱力、自我提高内驱力和附属内驱力在动机结构中所占的比重并非一成不变。在()附属内驱力更为突出。
A、 B、 C、 D、 D前两组图形中,分割大正方形的轴为上下、左上右下和右上左下交替且不重复,按照这一规律,空缺图形的分割轴应当为左上右下,排除C;前陶组图形中,实心球都是只出现在两个图形中,按照这一规律,
Questions14-21ReadingPassage2hassevenparagraphsA-G.Whichparagraphmentionsthefollowing(Questions14-21)?Writethe
Whatisthenumberthatisonehalfofonequarterofonetenthof400?
最新回复
(
0
)