TComboBox Events

Giganews Newsgroups
Subject:TComboBox Events
Posted by: Gary Mrenak (gmren…@earthlink.com)
Date:Tue, 12 Aug 2008

D2007

Using  a TComboBox, I want the user to be able to:

- select a desired item by clicking with the mouse
- also select and item by scrolling up/down the list of items using the
up/down arrow keys, then using the Enter key

I've noticed, however, that every up/down arrow key push causes the
onClick event to trigger, which seems to limit my ability to both scroll
up/down with arrow keys (and selecting an item with the Enter key), and
to also select an item using the mouse.

How can I implement this behavior?

Gar

Replies