Hello,

I am using the following code for my numeric keypad in my program and am
having some problems.

        case ctlSelectEvent:
            switch (eventP->data.ctlSelect.controlID)
            {
        //------code removed-----------//
                case MainZeroButton:
                    EvtEnqueueKey (0x0030, chrDigitZero, 0);
                    break;
                case MainDecimalButton:
                    EvtEnqueueKey (0x002E, chrFullStop, 0);
                    break;

                case MainDeleteButton:
                    EvtEnqueueKey (0x007F, chrDelete, 0);
                    break;
                
                case MainNextButton:    //move to next editable text field
                    EvtEnqueueKey (0x0103, vchrNextField, commandKeyMask);
                    break;
                
                case MainPreviousButton:    //move to previous text field
                    EvtEnqueueKey (0x010C, vchrPrevField, commandKeyMask);
                    break;
            }
            handled = false;
            break;

Everything works except the chrDelete, vchrNextField, vchrPrevField. I tap
the buttons on my keypad and nothing. Do I need to handle these (chrDelete,
etc...) differently than the rest of the keycodes?

Thanks,

Andy
-- 
Andy Black
[EMAIL PROTECTED]
Unix is user friendly. It is just picky about who its friends are.


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

Reply via email to