Private Sub Form_Load()
List1.Visible = False
Text1.Text = ""
For I = 1 To 10
List1.AddItem Chr(I + 64)
Next
End Sub
Private Sub List1_Click()
Text1.Text = List1.Text
End Sub
Private Sub Text1_GotFocus()
List1.Visible = True
End Sub
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyDown Then
List1.SetFocus
List1.ListIndex = 0
Text1.Text = List1.List(0)
List1.Visible = False
End If
End Sub