VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

ComboBox KeyPress Event Handler limits text typed to only allow an item from the list

Nigel Small  (1 Submission)   Custom Controls/Forms/Menus   Visual Basic 3.0   Advanced   Wed 3rd February 2021

This combo box event handler will limit the text typed to only items available from the list. This essentially makes the control into a dropdown list but allows the items to be selected by typing as well as clicking.

Inputs
This will work on any ComboBox. It assumes the control is called Combo1 but obviously, this can be changed.

Rate ComboBox KeyPress Event Handler limits text typed to only allow an item from the list (4(4 Vote))
ComboBox KeyPress Event Handler limits text typed to only allow an item from the list.bas

ComboBox KeyPress Event Handler limits text typed to only allow an item from the list Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters