首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
要求当鼠标在图片框Picture1中移动时,立即在图片中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是( )。
要求当鼠标在图片框Picture1中移动时,立即在图片中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是( )。
admin
2016-09-18
34
问题
要求当鼠标在图片框Picture1中移动时,立即在图片中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是( )。
选项
A、Private Sub Picture1_MouseMove(Button As Integer,Shift As Integer,XAs Single,Y As Single)
Picture1.Print X,Y
End Sub
B、Private Sub Picture1_MouseMove(Button A sInteger,Shift As Integer,XAs Single,Y As Single)
Print X,Y
End Sub
C、Private Sub Picture1_MouseDown(Button As Integer,Shift As Integer,XAs Single,Y As Single)
Picture.Print X,Y
End Sub
D、Private Sub Form_MouseMove(Button As Integer Shift As Integer,XAs Single,YAs Single)
Picture1.PrintX,Y
End Sub
答案
A
解析
在图片框中移动鼠标触发的事件是Picture1_MouseMove事件,在事件中控制在图片框中输出坐标。
转载请注明原文地址:https://jikaoti.com/ti/37J0FFFM
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
下面程序的功能是产生10个小于100(不含100)的随机正整数,并统计其中5的倍数所占比例,但程序不完整,请补充完整。SubPR() Randomize Dima(10) Forj=1To10 a(i)=In
设s="中华人民共和国",表达式Left(S,1)+Right(S,1)+Mid(S,3,2)的值为()。
设有数组声明语句:OptionBase1DimA(2,-1To1)以上语句所定义的数组A为______维数组,共有______个元素,第一维下标从______到______,第二维下标从______到______。下列选项
可以用InputBox函数产生“输入对话框”。若执行下列语句st$=InputBox("请输入字符串","字符串对话框","字符串")当用户输入完毕,按“确定”按钮后,st$变量的内容是()。
下面四个选项,不是窗体属性的是()。
下列方法中,不属于软件调试方法的是()。
队列是限定在表的一端进行插入和在另一端进行删除操作的线性表。允许删除的一端称作____________。
需求分析阶段的任务是()。
由Array函数建立的数组的名字必须是__________________类型。
下列运算符中,优先级别最高的是
随机试题
让中国菜走向世界是属于()
脾气虚、脾阳虚、脾气下陷的共同症状是()
男性病人,23岁。肛周肿痛3天伴发热,有里急后重感。肛周红肿,有波动感。进一步确诊方法是()
会导致财权财力高度集中,有利于调动地方的积极性的财政支出划分方法是()。
明十三陵位于北京市西北50公里的天寿山下,是明朝13个皇帝陵的总称,其中明成祖朱棣的陵墓是()。
一、注意事项1.申论考试与传统的作文考试不同,是分析驾驭材料的能力与表达能力并重的考试。2.作答参考时限:阅读资料40分钟。作答110分钟。3.仔细阅读给定的资料,按照后面提出的“作答要求”依次作答在答题纸指定位置。4.答题时请认准题号,避免答错位
论述美国独立战争的进程
在C语言中,设有数组定义:chararray[]=“China”;则数组array所占用的空间为(27)。
有以下程序intf(intm){staticintn=0;n+=m;returnn;}main(){intn=0;printf("%d,",f(++n));printf("%d\n",f(n++));
Whereistheball?
最新回复
(
0
)