Thanks Kevin and then Ken,

> From my testing, Kevin's right... here's the code:
>
> on rawkeyUp
>   put the selectedChunk
>   pass rawKeyUp
> end rawKeyUp
>
> on selectionChanged
>   put the selectedChunk
> end selectionChanged


Yes it works! Such a simple feat but I came unstuck.  The documentation 
states that selectionChanged msg is sent whenever a selection changes, 
when in fact it is sent only when a mouse event changes the selection -- 
thus the need for the  trapping at the keyboard level.  Also, silly me, 
I was trapping the rawKeyDown (the selectionChanged message is sent 
after this msg), even though Kevin did mention rawKeyUP!  You wouldn't 
believe it: I've got hundreds of lines of code elsewhere in the stack 
but this little blighter was really eatin' me!

Thanks again for the little push along, now I can get back to it ;-)

M@
Matt Denton

Reply via email to