单选题 VB
题号 #145168

在窗体上画一个名称为Drive1的驱动器列表框,一个名称为Dir1的目录列表框。当改变当前驱动器时,目录列表框应该与之同步改变。设置两个控件同步的命令放在一个事件过程中,这个事件过程是(  )。

进入在线模考

参考答案

A

答案解析

暂无解析

你可能感兴趣的试题

A.Private Sub Text1_KeyPress(KeyAscii As Integer)
 If KeyAscii < 65 Or KeyAscii > 90 Then
  MsgBox "请输入大写字母"
  KeyAscii = 0
 End If
 End Sub
B.Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
 If KeyCode < 65 Or KeyCode > 90 Then
  MsgBox "请输入大写字母"
  KeyCode = 0
 End If
 End Sub
C.Private Sub Text1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
 If Asc(Text1.Text) < 65 Or Asc(Text1.Text) > 90 Then
  MsgBox "请输入大写字母"
 End If
 End Sub
D.Private Sub Text1_Change()
 If Asc(Text1.Text) > 64 And Asc(Text1.Text) < 91 Then
  MsgBox "请输入大写字母"
 End If
 End Sub
找试题 · 找答案 · 找资料 在线模考