首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
要求当鼠标在图片框Picture1中移动时,立即在图片中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是( )。
要求当鼠标在图片框Picture1中移动时,立即在图片中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是( )。
admin
2016-09-18
32
问题
要求当鼠标在图片框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://kaotiyun.com/show/lZLp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
下面的程序运行结果是()。PrivateSubForm_Click() i=0 Do i=i+1 ifi>10thenExitDo LoopUntili<10 Print
默认情况下,工具箱中只显示______控件。
以下程序用来产生20个(0,99)之间的随机整数,并将其中的偶数打印出来。请填空。PrivateSubCommand1_Clcik() Randomize ForI=1To20 X=Int(Rnd*_____
设置组合框的风格,可用的属性是
新建一个窗体,其BorderStyle属性设置为FixedSingle,但运行时却没有最大化和最小化按钮,可能的原因是
数据结构分为逻辑结构和存储结构,线性链表属于______。
将一个窗体设置为MDI子窗体的方法是
下面程序执行的结果是()。PrivateSubForm_Click()AS="123":B$="456"C=Val(A$)+Val(B$)PrintC\100EndSub
常见的软件工程方法有结构化方法和面向对象方法,类?继承以及多态性等概念属于【】。
若将变量TestDate声明为Date类型,则下列为变量TestDate赋值的语句中正确的是()。
随机试题
男性,48岁。头晕、乏力、下肢水肿3个月,登三楼感到心慌、气急2周来门诊。体检:重度贫血貌,心率120次/min,心尖部SMⅢ,肝脾不肿大。化验:血红蛋白66g/L,血细胞压积0.20(20%)。对此患者门诊首选检查项目是
能用一针法麻醉的三条神经是
空腹听诊出现振水音,可见于()
我国《碾压式土石坝设计规范》规定,高度在30~70m之间的坝称为()。
关于竣工阶段质量监督,下列表述中正确的是()。
下列属于商业银行流动性风险的原则是()。
【2014四川雅安】一次考试的失利让李东很沮丧,李东回家时遇到邻居张阿姨并得到张阿姨的安慰鼓励,使得李东振作起来。我们可以称张阿姨为李东的教育者。()
11,12,16,39,67,122,()。
A、第一名B、第二名C、第三名D、没有名次B本题考查人名和名次,“亚军”就是“第二名”,选择B。
WhatMakesMetheWeightIAm?There’snoeasyanswertothisquestion.Yourgeneticmakeup,thephysicaltraitsthatgetpassed
最新回复
(
0
)