[单选题]

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

A. )

Private Sub P1_MouseMove ( Button AS Integer,Shift As Integer,X As Single,

Y As Single )

Print X,Y

E.nd Sub

B. )

Private Sub P1_MouseDown ( Button AS Integer,Shift As Integer,X As Single,

Y As Single )

Picture.Print X,Y

E.nd Sub

C. )

Private Sub P1_MouseMove ( Button AS Integer,Shift As Integer,X As Single,

Y As Single )

P1.Print X,Y

E. n d S u b

D. )

Private Sub Form_MouseMove ( Button AS Integer,Shift As Integer,X As Single,

Y As Single )

P1.Print X,Y

E.nd Sub

参考答案与解析: