Excellent! Thanks guys!
"Randy Harris" <please@send.no.spam> wrote in message
news:aYDQf.58009$dW3.4099@newssvr21.news.prodigy.c om...[color=blue]
> Rico wrote:[color=green]
>> Thanks Hansen, The "Cursor Value" isn't occuring when I hit the up, down
>> left or right keys. If I hit the letter / number keys, the keypress is
>> registering, but nothing when I hit the keys I want. Any ideas?
>>
>>
>> "Hansen" <helgardh@hotmail.com> wrote in message
>> news:1142025744.024069.41030@z34g2000cwc.googlegro ups.com...[color=darkred]
>>> Hi
>>>
>>> Your answer is in this post:
>>>
http://groups.google.co.za/group/com...40f36f9d16efba
>>>
>>> Sorry about the line breaks. You can also search this group by typing
>>> "Cursor Value" next to the Search This Group button
>>>[/color][/color]
>
>
> As Roy-Vidar indicated you need to use the KeyDown event to trap arrow and
> function keys. KeyPress only shows ASCII values.
>
> In KeyDown, the value KeyCode will contain:
>
> Up-Arrow: 38
> Down-Arrow: 40
> Left-Arrow: 37
> Right-Arrow: 39
>
> HTH
> --
> Randy Harris
> tech at promail dot com
> I'm pretty sure I know everything that I can remember.[/color]