Hi All, I will try to explain my issue as clearly as possible.
Device: Using a Zire 71 Simulator/Device
Problem:
My app is supposed to respond to the center nav button on the
5-way nav by popping up a form, using FrmPopUpForm. However it seems to popup the form then close it immediately returning to the parent form.
Weirdness: If I place break points within the app and try to debug, the "Problem:" does not happen. (i.e. The form responds as expected to the 5-way nav center button pressed, and does NOT immediately close and return to the parent form)
Even More Weird:
When I deploy the prc to a zire 71 device, the "Problem" happens.
(i.e. Popup form close immediately when center nav pressed).
I gets weirder when, I when press and hold the RIGHT nav-rocker and then press the center button it seems to work as expected.
(i.e. The form popups and stays, awaiting my interaction.)
Are you responding to the keyDownEvent or the keyUpEvent? I think what's happening is that you're getting it on keyDown, but the default modal handler for devices with the original palmOne navigation system (including the Zire 71) is to hit the default button on keyUp for a center press.
-- Ben Combee, Senior Software Engineer, palmOne, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
