I've been trying to handle the 5-way navigator on my Treo 600 in an app I'm writing. I've had some trouble, so I've gone for the simplest test: set focus to a certain input field any time onhkey() is called:

handler mainForm.onhkey() {
fieldInput3.grabfocus();
}

What I have found is that this function is called if I press the up or down keys, but not left, right, or select. Has anyone else seen similar behavior? Is there something simple I'm doing wrong? Is the 5-way navigator somehow different on a Treo than it is on, say, a Tungsten?

The result is that pressing up causes the field to show 4, and pressing down causes the field to show 5 (these are the expected values for evUp and evDown). Pressing left, right, or select cause no change to the field.

I tried the same thing on my friend's Tungsten T, and there the left, right, and select buttons changed the field output to 6, 7, and 8, the expected values.

So, it seems like mainForm.onhkey() just doesn't get called on the Treo when left, right, and select are pushed.

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by dewey</i>
<br />>64k code is one of the major new features that is already finished. v4 will probably not be released until early '06.
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Is there any possibility of getting a patch with the 5-way fix before the release of version 4?