首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
要求当鼠标在图片框P1中移动时,立即在图片框中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是
要求当鼠标在图片框P1中移动时,立即在图片框中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是
admin
2019-04-29
26
问题
要求当鼠标在图片框P1中移动时,立即在图片框中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是
选项
A、Private Sub P1_MouseMove(Button As Integer,Shift As Integer,X As Single,Y As Single)
PrintX,Y
End Sub
B、Private Sub P1_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single)
Picture.Print X,Y
EndvSub
C、Private Sub P1_MouseMove(Button As Integer,Shift As Integer,X As Single,Y As Single)
P1.Print X,Y
End Sub
D、Privme Sub Form_MouseMove(Button As Integer,Shift As Integer,X As Single,Y As Single)
P1.Print X,Y
End Sub
答案
C
解析
在图片框中移动鼠标触发的事件是P1_MouseMOVe事件,在事件中控制在图片框中输出坐标。
转载请注明原文地址:https://kaotiyun.com/show/7FUp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
假定建立了一个名为Commandl的命令按钮数组,则以下说法中错误的是()。
数据流图用于抽象描述一个软件的逻辑模型,数据流图由一些特定的图符构成。下列图符名标识的图符不属于数据流图合法图符的是()。
函数过程F1的功能是:如果参数a为奇数,则返回值为1,否则返回值为0。以下能正确实现所述功能的代码的是()。
下列操作中不能向工程中添加窗体的是()。
在运行阶段,要在文本框Text1获得焦点时选中文本框中所有内容,如图1所示,对应的事件过程是()。
在软件开发中,需求分析阶段产生的主要文档是()。
请根据以下各小题的要求设计VisualBasic应用程序(包括界面和代码)。(1)在名称为Forml、标题为“标签”的窗体上画一个名称为Labell的标签,并设置适当属性以满足以下要求:①标签的内容为“计算机等级考试”;②标签可根据显示内容自动调整
以下关于VB的叙述中,错误的是
下列运算符中,优先级别最低的是()。
随机试题
休克早期,肾衰竭的主要机制
A.上皮细胞足突消失B.上皮下驼峰样沉积物C.系膜区沉积物D.内皮下、致密层和上皮下沉积物E.上皮下沉积物伴基膜增厚(2004年)毛细血管内增生性肾小球肾炎电镜下可见
下列哪些间隙属于面侧深区的范围
[2014年真题]建筑物内的管道井,其建筑面积计算说法正确的是()。
监管谈话是指监管人员为了解银行业金融机构的经营状况、风险状况和发展趋势而与其()进行的谈话。
职能部门之间缺乏横向沟通,下级工作的积极主动性较差的组织结构是()。
在杜邦财务分析体系中,综合性最强的财务比率是()。
制定教学目标、确定教育内容、选择教育方法、评价教育效果的根本依据是()。
把下面的六个图形分为两类,使每一类图形都有各自的共同特征或规律,分类正确的一项是()。
GesturesI.Theuniversalusageofgesturesincommunication1)GesturesarewidelyusedespeciallyinArabcountries.2)Gesture
最新回复
(
0
)