why not set fields to "numeric" and maxchar to 1?
On 7/13/06, René Kjellerup <[EMAIL PROTECTED]> wrote:
Many thanks Miro, when what you suggested finaly made sense to me it was a great help, however problem 2 now arises; 'eventP->data.keyDown.chr' is a WChar how do I convert it to a Char which most of the StrXXXX functions use, I've tried this way: WChar wch = eventP->data.keyDown.chr; Char str[2]; str[0] = wch; str[1] = 0; int val = StrAToI(str); this however is not the right way, and it only works part time it seems, which is a wonder I'd agree to. is there a function that convert WChar to Char without much hassle? (I've scimmed through the API docz without luck) -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
-- Best Regards, Dmitry Grinberg Software Engineer, http://PalmPowerups.com (847) 226 9295 AIM: DmitryGrinberg MSN: [EMAIL PROTECTED] ICQ: 165589894 Y! IM: dmitrygr2003 -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
