KeyPress, KeyDown, KeyUp, SP2, Combobox

  • Thread starter Thread starter Robert Lalouche
  • Start date Start date
R

Robert Lalouche

I now have CF SP2 working (I've gotten forecolor to work
for buttons), but can't seem to get KeyPress, KeyDown or
KeyUp to work for the Combobox. I'm trying to increase
the size of the combobox when its in the dropped down
state, and decrease it when its in the upstate. Using
GotFocus and SelectValueChanged works, but not when a
user drops down the combobox but doesn't change the
selection. KeyPress, KeyDown, and KeyUp events never
fire. Any ideas? Thank you for your time.
 
Are you sure your combobox has focus when you enter keys? Expanding the
combobox with the stylus or explicitely setting the focus to the combobox
results in the firing of the key events for me.
 
I am also having the same problem capturing KeyDown/KeyUp
event. I already have CF SP2 installed. But still I can't
get the event handler work with ComboBox. It works fine
with Button, however.
 
Could you perhaps send a code snippet so we can
investigate the problem.

Regards,
Maarten Struys
PTS Software
 
Now it works... I actually didn't get SP2 installed
correctly. Sorry for the previous post, which leaded to
furture confusion.
 
Back
Top