>>From: <[EMAIL PROTECTED]> >>Sent: Friday, July 12, 2002 4:32 PM >> is there a better way to get numeric field to accept minus sign >>than to intercept keyDownEvent and insert it into the field manually? >> > >Subject: Re: minus sign in numeric field >From: "Dave Lippincott" <[EMAIL PROTECTED]> >Date: Fri, 12 Jul 2002 17:11:00 -0400 > >Get Palm to fix it. I was told this was on the list of items to fix for OS >3.3, then OS 3.5 then OS 4.0 (well you get the idea, guess its not a high >priority bug) > >I've added a '-/+' button next to the field in the past to allow negative >number entry. The bug only prevents Graffiti or keyboard input of the >negative sign, not from your app adding it. > >Equal rights for negative integers! ;-)
Dave, love your solution! It had never occurred to me to check whether I could force a sign character into a field defined as numeric. Note: If Palm Source simply allowed sign characters then the program would have to parse through the field to identify and resolve multiple sign characters. By adding a sign button (or a pair of +- push buttons), you can ensure you have only one perfectly located sign character. Roger Stringer Marietta Systems, Inc. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
