By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,166 Members | 1,575 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,166 IT Pros & Developers. It's quick & easy.

combo box question

P: n/a
Hi

Is the a way of making a combobox pull down and display contents by pressing
Insert key while focus is on the control

Thanks for any thoughts.

Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

Starbuck wrote:
Hi

Is the a way of making a combobox pull down and display contents by pressing Insert key while focus is on the control

Thanks for any thoughts.


Private Sub MyComboBox_KeyDown(ByVal sender As Object, ByVal e As _
System.Windows.Forms.KeyEventArgs) Handles MyComboBox.KeyDown
If e.KeyCode = Keys.Insert Then
MyComboBox.DroppedDown = True
End If
End Sub

--
Larry Lard
Replies to group please

Nov 21 '05 #2

P: n/a
Thanks Larry

"Larry Lard" <la*******@hotmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...

Starbuck wrote:
Hi

Is the a way of making a combobox pull down and display contents by

pressing
Insert key while focus is on the control

Thanks for any thoughts.


Private Sub MyComboBox_KeyDown(ByVal sender As Object, ByVal e As _
System.Windows.Forms.KeyEventArgs) Handles MyComboBox.KeyDown
If e.KeyCode = Keys.Insert Then
MyComboBox.DroppedDown = True
End If
End Sub

--
Larry Lard
Replies to group please

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.