On 16/10/01 5:50 am, David Beck <[EMAIL PROTECTED]> wrote: > 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?
Check out the rawKeyUp message (searching the list archives will show a recent more extensive post on the solution to this problem). Regards, Kevin Kevin Miller <[EMAIL PROTECTED]> <http://www.runrev.com/> Runtime Revolution Limited - Power to the Developer! Tel: +44 (0)131 718 4333. Fax: +44 (0)1639 830 707.
