[VB.NET]下拉列的问题

前端之家收集整理的这篇文章主要介绍了[VB.NET]下拉列的问题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
下拉列的问题 怎么设置可以用一个快捷键调出DropDownList的下拉列表框 __________________________________________________________________________ Private Sub Form1_KeyDown( _ ByVal sender As System.Object,_ ByVal e As System.Windows.Forms.KeyEventArgs _ ) Handles MyBase.KeyDown If e.KeyCode = Keys.A AndAlso e.Alt Then Me.ComboBox1.Focus() Me.ComboBox1.DroppedDown = True End If End Sub Private Sub Form1_Load( _ ByVal sender As System.Object,_ ByVal e As System.EventArgs) Handles MyBase.Load Me.KeyPreview = True End Sub __________________________________________________________________________ 原文链接:https://www.f2er.com/vb/264033.html

猜你在找的VB相关文章