First, I'm getting the following warning in the Palm5 debug simulator:
Records left busy in closed unprotected db
What does it mean?
Second: I'm having a rather bizarre problem with the Clie. It shows up
on the Clie OS5 simulator, but does not show up on the Palm OS5 simulator.
The app uses the hardware up/down buttons to page up and down. It seems
that the jog dial does this on the Clie. The app also has an onscreen
graphic, which, when tapped, will move the form to the beginning of the
data.
Jog down works fine. Jog up somehow not only gives me a hardware up button
press, but also generates a penDownEvent. Here's the base code that
gets called:
//This code *should* get called..
case keyDownEvent:
if(event->data.keyDown.chr == pageUpChr && FrmGetActiveFormID() == BillForm) {
ScrollTable(toprow - 10);
//This code should *not* get called, but does...
case penDownEvent:
if((FrmGetActiveFormID() == myForm) && (event->screenX >= 150 &&
event->screenX <= 157) && (event->screenY >= 25 && event->screenY <= 29)) {
...though you can't tell it from the fragments above, the statements are
nowhere near each other, and there's no way that the code could fall
through from the keyDownEvent to the penDownEvent.
How in the heck is this particular bit of code getting called? I can't figure
out any possibility that makes sense. What makes this even more amazing
is that I have another app that has the exact same controls -- well, the
actual pixels may be different, otherwise it's basically the same -- anyway,
in the other up, both jog up and jog down work as they should.
Any ideas would be appreciated.
Thanks,
Sean.
---
Sean L. Gilley There is magic in an ocean wave.
[EMAIL PROTECTED] There is magic in a secret cave.
http://www.desert-penguin.com Sometimes I think I've forgotten how to see.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/