Hi lanas!
Try to overload either combo's or its inputline's onKeyDown,
as $combo = Combo->new( ... onKeyDown => sub {} ) or
$combo-> InputLine-> onKeyDown( sub {}), also call clear_event after
you catch kb::Enter, so other controls won't try to handle it.
/dk
lanas> Hello, I'm using a combobox to display values but there's also a
lanas> possibility for a user to type-in a new value and then press
lanas> [ENTER]. How can I make the combobox react on the [ENTER] key as
lanas> if it was a selection made from the list ?
lanas> Thanks,
lanas> Al.
-- Sincerely, Dmitry KarasikReceived on Wed 30 May 2007 - 10:05:02 CEST
This archive was generated by hypermail 2.2.0 : Wed 27 Mar 2013 - 10:40:22 CET