I use the Keypreview = Yes and the KeyDown Event to simulate a datasheet view on a form view. ie if you press the down key, the focus moves to the next record, as opposed to the next control.
This works fine, but when you are on a combo box, and you use the "Alt + Down Arrow" key combination to view your options in the combo box (just the same as pressing F4), the Keycode event kicks in and moves to the next record, as opposed to displaying the combo box.
Now I've got around the problem a little bit by rejecting the keystroke if the Alt key is being held down, but the problem of moving around in the combo box while it is dropped down remains.
ie, you can drop the combo box down by pressing Alt + Down Arrow, but then when you use the down arrow key to move within the combo box, it moves to the next record.
So, I guess my question comes down to : How can you tell if a given combo box is "Dropped Down" or not.
Thanks in advance