Link to home
Create AccountLog in
Avatar of john M
john MFlag for United States of America

asked on

vs 2008 combo box issues drop down list appear when a keypress event happens

i like to be able to have the drop down list appear when someone enters a keypress event

can I  do that
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

can u be more specific?
is it a winform application?
which drop down?
appear cause it's hidden and u want to show it, or just open the list section of the combobox?
Avatar of john M

ASKER

visual studio 2008
.net 4.0
sql 2008
u didn't answer any question i asked.
Avatar of john M

ASKER

just a combobox i added  on a form
>>someone enters a keypress event
when the focus is on the form? on the combobox?
do u want to have autocomplete affect, so when user press a key the drop down list opens?
Avatar of john M

ASKER

when i wanted was for them not to have to mouse down to have the down list appear

i looked and does autocomplete affect mean it select the item highlighted?
Avatar of john M

ASKER

yes then  whats i want
we want it really to not look like combobox
i looking  not to have the arrow show
i figured how to have the data update after you enter each  value
so u wan to have like a textbox and below a listbox, when user press keys it automatically inserted to the list?
Avatar of john M

ASKER

No really what i wanted is instead of them having to use the mousedown event to show the listbox  when they enter a value  which causes a keypress event
The to  have the listbox part of the combo box appear
ASKER CERTIFIED SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer