Hi.

I would like to update some fields every time the selection changes in a
list box with information relevant to the selected item in the list. The
selectionChanged message is great for this but when you use the arrow keys
to change the selection no selectionChanged message is sent. So I figured I
could just call the selectionChanged handler from the arrowKey message
handler, but the problem is that the fields would then be updated with info
on the OLD selection since the selection of the list doesn't change until
Rev gets the arrowKey message. So the question is: How do I update the
fields with info relevant to the new selection when the arrow keys are
pressed? Maybe check which arrow key is pressed and manually change the
selection in arrowKey and then call selectionChanged? Is there a better way?

Thanks for any help,
Dave

Reply via email to