要求当鼠标在图片框Picturel中移动时,立即在图片中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是( )。

admin2015-11-25  24

问题 要求当鼠标在图片框Picturel中移动时,立即在图片中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是(     )。

选项 A、Private Sub Picturel-MouseMove(Button As Integer,Shift As Integer,XAs Single,Y As
Single)
Picture 1.Print X,Y
EndSub
B、Private Sub Picture 1_MouseMove(Button As Integer,Shift As Integer,XAs Single,Y As
Single)
Print X,Y
EndSub
C、Private Sub Picture 1_ouseDown(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)
Picturel.Print X,Y
End Sub

答案A

解析 在图片框中移动鼠标触发的事件是Picture1—MouseMove事件,在事件中控制在图片框中输出坐标。
转载请注明原文地址:https://jikaoti.com/ti/odJ0FFFM
0

最新回复(0)