假定有如下事件过程: Private SubForm_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Button=1 Then PopupMenu Popform End If EndSub 则以下描述中错误的是 。
举一反三
- 要求当鼠标在图片框P1中移动时,立即在图片中显示鼠标的位置坐标。下面能正确实现上述功能的事件过程是______。 A: Private Sub P1_MouseMove(Button As Integer,Shift As Integer,XAs Single,Y As Single) Print X,Y End Sub B: Private Sub P1_MouseDown(Button As Integer,Shift As Integer,XAs Single,Y As Single) Picture.Print X,Y End Sub C: Private Sub P1_MouseMove(Button As Integer,Shift As Integer,XAs Single,Y As Single) P1.Print X,Y End sub D: Private Sub Form_MouseMove(Button As Integer Shift As Integer,XAs Single,Y As Single) P1.Print X,Y End Sub
- 执行下列程序后,鼠标单击窗体,输出结果为( )。 Private Sub Form_Click() Print "Click"; End Sub Private Sub Form_MouseDown(Button As Integer, Shift A: As Integer,X As Single,Y As Single) B: Print "Down" C: End Sub D: Private Sub Form_MouseUp(Button As Integer, Shift_As Integer,X As Single,Y As Single) E: Print "Up" F: End SubA) DownUpClick G: B) ClickDownUp H: C) DownClickUp I: D) UpDownClick
- 下面有关注释语句的格式,错误的是( )。 A: Rem注释内容 B: ′注释内容 C: a=3:b=2,′对a、b赋值 D: Private Sub Command1_MouseDown(button As Integer,shift As Integer,_Rem鼠标按下事件的命令调用过程X As Single,Y As Single)
- 下面有关注释语句的格式正确的是( )。 A: a=3:b=2 ‘对a、b赋值 B: Private Sub Command1_MouseDown(button AS Integer,shift As Integer, Rem鼠标按下事件的命令调用过程X As Single,Y As Single) C: ’注释内容 D: Rem注释内容
- 下面有关注释语句的格式,错误的是 A: Rem注释内容 B: ′注释内容 C: a=3:b=2,′对a、b赋值 D: Private Sub Command1_MouseDown(button As Integer,shift As Integer,_Rem鼠标按下事件的命令调用过程X As Single,Y As Singl