Paul,
You should issua a NODEFAULT inside the cbo.KeyPress if you want to conditionally prevent the normal behavior.
if ( nKeyCode = ??? )
skip 1
nodefault
endif
>Comboboxes in grids respond to an up/down arrow keypress by changing the value of the combobox. An end user of mine does not like this "feature." Instead she wants to be able to navigate up/down through a grid's records when a combobox has the focus within the grid. However, if the list portion of the combobox is displayed (from a spacebar keypress or down arrow click), up/down arrows should function normally.
>
>I have tried using the dropdown and keypress events to no avail. Two problems arise:
>
>1) If I skip to the next record, the keypress is interpreted in the next record's combobox, changing the next record's value (CLEAR TYPEAHEAD does not work).
>
>2) I cannot consistently keep track of a combobox's "ListIsDisplayed" value. There is a DropDown event, but no complimentary "DropUp" event.