题目详情
当前位置:首页 > 职业培训考试
题目详情:
发布时间:2023-10-14 04:34:13

[单项选择]编写如下事件过程: Private SubForm_KeyDown(KeyCodeAsIntege《ShiftAsInteger',) If (Button And 3)=3 Then Print"AAAA" End If End Sub 程序运行后,为了在窗体上输出“AAAA”,应按下的鼠标键为 ______。
A. 左
B. 右
C. 同时按下左、右
D. 按什么键都不显示

更多"编写如下事件过程: Private SubForm_KeyDown("的相关试题:

[单项选择]编写如下事件过程:
Private SubForm_KeyDown(KeyCodeAsIntege《ShiftAsInteger',)
If (Button And 3)=3 Then
Print"AAAA"
End If
End Sub
程序运行后,为了在窗体上输出“AAAA”,应按下的鼠标键为 ______。
A. 左
B. 右
C. 同时按下左、右
D. 按什么键都不显示
[单项选择]编写如下事件过程: Private Sub Form_MouseMove(ButtonAsInteger,ShiftAsInteger,X As Single,YAsSingle) Cls If(Button Andl)ThenPrint"你好" End Sub 程序运行后,为了在窗体上显示“你好”,应在窗体上执行以下( )操作。
A. 只能按下左按键并拖动
B. 只能按下右按键并拖动
C. 只能按下左按键
D. 只能按下右按键
[单项选择]编写如下事件过程: Private Sub Form KeyDown(KeyCode As Integer,Shift As Integer) If(Button And 3)=3 Then Print "AAAA" End If End Sub 程序运行后,为了在窗体上输出"AAAA",应按下的鼠标键为 ______。
A. 左
B. 右
C. 同时按下左、右
D. 按什么键都不显示
[单项选择]编写如下事件过程; Private Sub Form_ MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single) If Shift = 6 And Button = 1 Then Print "BBBB" End If End Sub程序运行后,为了在窗体上输出 “BBBB”,应执行的操作为______ 。
A. 同时按下Shift 键和鼠标左键
B. 同时Ctrl、Alt 键和鼠标左键
C. 同时按下Shift 键和鼠标右键
D. 同时按下Ctrl、Alt 键和鼠标左键
[单项选择]编写如下事件过程:   Private Sub Form_MouseDown(Button AS Integer,Shift AS Integer,_                 X As Single,Y As Single)     If Shift=6 And Button=2 Then       Print,"PC"     End If   End Sub   程序运行后,为了在窗体上输出“PC”,应执行的操作为( )。
A. 主索引
B. 候选索引
C. 惟一索引
D. 普通索引
[单项选择]编写如下事件过程: Private Sub Form MouseDown(Button As Integer,Shift As Integer,X As Single, Y As Single) If Shift=6 And Button=2 Then Print "BBBB" End If End Sub 程序运行后,为了在窗体上输出“BBBB”,应执行的操作为
A. 同时按下Shift键和鼠标左键
B. 同时按下Ctrl、Alt键和鼠标右键
C. 同时按下Shift键和鼠标右键
D. 同时按下Ctrl、Alt键和鼠标左键
[单项选择]编写如下事件过程:  Private Sub Form_KeyDown (KeyCode As Integer,Shift As Integer)    Print Chr(KeyCode)  End Sub  Private Sub Form_Key Press (KeyAscii As Integer)    Print Chr (Key Ascii)  End Sub  在一般情况下(即不按住Shift键和锁定大写键时)运行程序,若按“T”键,则程序输出的结果是
A. T   T
B. t   T
C. T   T
D. t  t
[单项选择]编写如下事件过程: Private Sub Form Mouse Down(Button As Integer,Shift As Integer,X As Single, Y As Single) If Shift=6 And Button=2 Then Print"BBBB" End If End Sub 程序运行后,为了在窗体上输出"BBBB",应执行的操作为_______。
A. 同时按下Shift键和鼠标左键
B. 同时按下Shift键和鼠标右键
C. 同时按下Ctrl、Alt键和鼠标左键
D. 同时按下Ctrl、Alt键和鼠标右键
[单项选择]假定编写如下事件过程: Private Sub Form_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single)  If(Button and 3)=3 then   Print"Hello"  End if End Sub 程序运行后,为了在窗体上输出“Hello”,应该窗体上执行以下( )操作。
A. 只能按下左键并拖动
B. 只能按下右键并拖动
C. 必须同时按下左、右键并拖动
D. 按下左键拖动或按下右键拖动

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

截图扫码使用小程序[完全免费查看答案]
请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码