Allow Numeric Fileds to Accept the Minus sign

2003-08-06 Thread Régis Daniel de Oliveira
How can i make a numeric field accept the minus (-) field? Thanks! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Allow Numeric Fileds to Accept the Minus sign

2003-08-07 Thread Alan Ingleby
"José dos Santos Machado" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Long answer: You can use a workaround for this. You could trap the > keyDownEvent before the field and write it by hand on the Field, if you > wanna to. That's a good idea actually. I never really thought of

Re: Allow Numeric Fileds to Accept the Minus sign

2003-08-11 Thread José dos Santos Machado
Alan Ingleby escreveu: All you need to check for is that the insert position is at the start of the field, and that there isn't already a "-" after the insert position. The OS will then handle all the other issues for you (Such as making sure you don't enter more than one "." for example. You got

Re: Allow Numeric Fileds to Accept the Minus sign

2003-08-14 Thread Alan Ingleby
"Régis Daniel de Oliveira" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How can i make a numeric field accept the minus (-) field? Short answer : You can't. Use a non-numeric field, and filter the keydown events. -- For information on using the Palm Developer Forums, or to un

Re: Allow Numeric Fileds to Accept the Minus sign

2003-08-14 Thread Oliver
> How can i make a numeric field accept the minus (-) field? http://www.escribe.com/computing/pcpqa/search.html?query=numeric+field+minus HTH, Oliver __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -

Re: Allow Numeric Fileds to Accept the Minus sign

2003-08-14 Thread Oliver
> That's a good idea actually. I never really thought > of doing it that way... Would that work, though, if the user chose to pop open the on-screen keyboard? Oliver __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebu

Re: Allow Numeric Fileds to Accept the Minus sign

2003-08-14 Thread José dos Santos Machado
Alan Ingleby escreveu: "Régis Daniel de Oliveira" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] How can i make a numeric field accept the minus (-) field? Short answer : You can't. Use a non-numeric field, and filter the keydown events. Long answer: You can use a workaround for this.