当前位置: 答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

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


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

A )

Private Sub P1_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 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

End Sub

请帮忙给出正确答案和分析,谢谢!

参考答案
您可能感兴趣的试题
  • 运行时,要清除图片框P1中的图像,应使用语句()。

  • 下列可以把当前目录下的图形文件"p1.jpg"装入图片框picture1中,正确的语句是:()

  • ● 在浏览网页时,当鼠标指针移至某些文字或某些图片时,会出现手形状,通常是由于网页在这个地方做

  • 要清除已经在图片框P1中打印的字符串而不清除图片框中的图像,应使用语句()。A、P1.CLSB、P1.Pic

  • 要在图片框P1中打印字符串"HowAreYou",应使用语句().A:Picture1.Print="HowAre

  • 程序运行时,向图片框P1中加载“C:WINDOWSCar.bmp”图像文件,应使用 A. Picture1.Picture=("C:" />