"Helmut A. Bender" <[EMAIL PROTECTED]> wrote ..
> Am Freitag, 15. Juli 2005 04:42 schrieb druid:
> > because no matter what I do, it still crashes
> > I think it's a bug with the SysKeyboardDialog(kbdDefault);
> > Someone resolve this please, because I really need to be able
> > to use the call
> > Of course I will compensate you for your time
> > have attached the zip of my sinple project
> >
> > Thanks
> > [EMAIL PROTECTED]
Im not sure what your refering to here about rebuilding the event handling 

> 
> I don't know what goes wrong with your code, but it's usually no good idea to 
> rebuild the event handling of the OS on your own as you do with the 
> fldEnterEvent. You simply don't know if you have done anything that is 
> nessesary to work properly.
> 
> I had the same problem to pop up the SysKeyboardDialog and I solved it with 
> enqueing the keyboard event (in this case, the numeric keyboard) on the 
> fldEnterEvent without setting handled to true:
> 
>       EvtEnqueueKey(vchrKeyboardNumeric, 0, commandKeyMask);

I tried this but the problem still exists
FormPtr form;
        FieldPtr fldP;
        
        Boolean handled = false;
        form = FrmGetActiveForm();
        FrmSetFocus(form, FrmGetObjectIndex(form, fldNewDesc));
        fldP = FrmGetObjectPtr(form, FrmGetObjectIndex(form, fldNewDesc)); 
        EvtEnqueueKey(vchrKeyboardNumeric, 0, commandKeyMask);
        SysKeyboardDialog(kbdDefault);
        FldDrawField(fldP);
> 
> Perhaps this works with you, too.
> 
> -- 
> Mit freundlichen Grüßen
> Helmut A. Bender
> Helmut Bender GmbH
> 
> -- 
> For information on using the PalmSource Developer Forums, or to unsubscribe, 
> please
> see http://www.palmos.com/dev/support/forums/
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to