Hi there,
I have a number of REPEATBUTTONS that are working fine except that after the
pen is lifted, the button stays inverted. These buttons are actually form
bitmaps, overlayed with empty text buttons.
Is handling ctlRepeatEvent events sufficient, or do I have to take
additional action on something like a penUp event as well (eg to manually
re-invert the button)
I am handling the buttons with the following code:
case ctlRepeatEvent:
{
switch (pEvent->data.ctlEnter.controlID) {
case CLEAR:
if (areaAnimating(&g.studentWords)) {
handled = true;
}
else {
if (g.studentWords.nextStroke > 0) {//Still strokes to delete
clickedClear();
handled = false;
}
else {
handled = true;
}
}
break;
case STOP_DELETE:
if (g.teacherWords.nextLetter > 0) {//Still letters to delete
clickedStopDelete();
handled = false;
}
else {
handled = true;
}
break;
}
break;
}
Thanks for your help.
Robert Crago
Revelation Computing Pty Limited
PO Box 459, ASPLEY
Brisbane, Australia 4034
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html