首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
要求当鼠标在图片框P1中移动时,立即在图片框中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是
要求当鼠标在图片框P1中移动时,立即在图片框中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是
admin
2020-04-18
19
问题
要求当鼠标在图片框P1中移动时,立即在图片框中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是
选项
A、Private Sub P 1一MouseMove(Button As Integer,Shift As Integer,X As Single,Y As Single)
Print X,Y
End Sub
B、Private Sub P1_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single)
Picture.Print X,Y
End Sub
C、Private Sub P1_MouseMove(Button As Imeger,Shift As Integer,X As Single,Y As Single)
P1.Print X,Y
End Sub
D、Private 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/4ZTp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
当文本框中的内容发生改变时所触发的事件是
以下关于单选按钮和复选框的叙述中,正确的是
下面关于直线控件的叙述中正确的是
设窗体上有一个图片框Picturel,要在程序运行期间装入当前文件夹下的图形文件File1.ipg,能实现此功
以下关于图片框、图像框的叙述中,正确的是
下列打开“代码窗口”的操作中错误的是
若要把窗体上命令按钮Commandl的状态设置为不可用,应该执行的命令是
下面函数的功能应该是:删除字符串s仃中所有与变量ch相同的字符,并返回删除后的结果。例如:若str=“ABCDABCD”,ch=“B”,则函数的返回值为:“ABCDCD”Functiondelchar(strAsString,chAsS
下列说法中,错误的是
以下说法中正确的是
随机试题
A.仓廪之官,五味出焉B.中正之官,决断出焉C.受盛之官,化物出焉D.相傅之官,治节出焉E.作强之官,伎巧出焉
功似石决明,又能镇惊安神的药物是
A.活跃期延长B.活跃期停滞C.胎头下降延缓D.第二产程停滞E.第二产程延长初产妇,规律宫缩5小时,宫口开3cm,行人工破膜后9小时宫口9cm。为
患儿男,14个月,因“发热、流涕2日”就诊。查体:体温39.7℃,脉搏135次/分。神志清楚,咽部充血,心肺检查无异常。查体时患儿突然双眼上翻,四肢强直性、阵挛性抽搐。引起患儿病情变化的原因,最可能是()
关于混凝土施工缝的留置位置的做法,正确的是()。
按库存在企业中所处状态不同划分,那些已经有一段时间没有需求的商品属于()。
甲股份有限公司(以下简称“甲公司”)为上市公司,其相关交易或事项如下(计算结果保留两位小数)。(1)经相关部门批准,甲公司于2×19年1月1日按面值发行分期付息、到期一次还本的可转换公司债券1000万份,每份面值为100元。可转换公司债券发行价格总额为1
导游服务是一门艺术,它集()艺术于一身,集中体现在导游讲解之中。
有以下程序main(){intsum,pad,pAd;sum=pad=5;pAd=++sum,pAd++,++pad;printf(”%dkn”,pad);)程序的输出结果是
若整型变量a、b、c、d中的值依次为:1、4、3、2。则条件表达式a<b?a:c<d?c:d的值是()。
最新回复
(
0
)