So call KEYBOARD two times, one for TAB, next for DNARROW.
>Thanks for the reply Edward. See reply to David F. for expanded description of problem.
>
>>>I have several comboboxes on my form, some on the form and some in a grid. All of them have .Style=2 (Dropdown List) because the users want the keyboard pneumonics (sp?) functionality and they can only pick from what's in the list.
>>>
>>>The feature they hate with .Style=2 is that UPARROW and DNARROW change the value. They would rather it acted like when .Style=0 (Dropdown Combo) and move to the previous/next object or in the case of the grid move to the previous/next line item. Any ideas on how to do this?
>>
>>**Combo.KeyPress event
>>
>>if nKeycode=5 or nKeycode=24
>> nodefault
>> keyboard '{TAB}'
>>endif
>>
Edward Pikman
Independent Consultant