OK I understand how to fire the event, but don't really see how it is useful 
for a combolist.

If a user is using the keyboard to navigate the form, then setting the button 
event means they can use the arrow keys to move up and down the list (without 
any action), and then press Enter to fire the button event. However I don't 
think mouse users are able to fire the button event on a combolist, I have to 
set the select event for them to be able to use the control which effectively 
makes the button event redundant.

The behaviour for a listbox is different because you can fire a button event 
using the mouse by double-clicking on an option.

In my case I've just set the select event which will fire every time a new 
list-member is highlighted (either using keyboard or mouse), but that's fine 
(even desirable) for my application.

---Tom Arneson wrote:
> The button event runs on the enter keypress while the control
> is active. I
> use it often.
>
> --- Sherlock, Ric
>
> What would I use the "button" event for on a combolist control?
>
> When should the "button" event fire for a combolist control?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to