Hi everyone,

I am creating a new field by using FldNewField when a user scrolls the screen using the control repeat buttons. When I do this the button remains highlighted and you can not hold it down and have it repeat. When I do not create a new field on a scroll (just scroll existing fields) it works fine. I know that I am returning false after handling the scroll event. Can the FldNewField somehow be interfering with the event handling?

Here is my relevant code:

In my event handler -

case ctlRepeatEvent:
JrnlHandleCtlRepeatEvent(event, hJourCtl);
handled = false;
break;



return handled;



In JrnHandleCtlRepeatEvent -


... scrolling procedures - to scroll existing fields...
if(nextLastItem.fldID == 0)
{
fldP = FldNewField((void **) &frmP, pCtl->lastFldID, insertPointTextX, insertPointBothY,
extent, 12, curFont, 256, true, grayUnderline, false, true, leftAlign, true, true, false);
}


...update scrollers...

Any help would be appreciated, I am sooooo close to finishing this.

Karmen

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to