problems setting the selected item in a clist



I have a clist and my code does full text matching when the user types on
the keyboard. I use clist_select_row to change the selection. The clist is
using BROWSE as its selection mode.

The clist focus item does not move when I set the selection with select_row,
so if the user then presses a cursor key, the selection hops from where I
put it with select_row to something by the focus item.

How to I make the currently selected item also the focus item?

BTW: Why do BROWSE and SINGLE selection modes allow the focus and selection
to differ.

Best Regards,
Norman Black
Stony Brook Software






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]