Re: adding text in one field and automatically to another

2011-10-29 Thread william humphrey
That "just works" as the master said. Thank you very much for helping. The "on key up" it instantly put the next number in the telephone field. On Thu, Oct 27, 2011 at 4:19 PM, Phil Davis wrote: > on keyDown pKey >if pKey is an integer >then pass keyDown >else beep > end keyDown > >

Re: adding text in one field and automatically to another

2011-10-27 Thread Pete
Nah, he wash dryping while trunk... Pete Molly's Revenge On Thu, Oct 27, 2011 at 8:44 PM, J. Landman Gay wrote: > On 10/27/11 4:57 PM, Phil Davis wrote: > >> Thanks Craig - I figured it was a typo. >> > > Ish posshible he wash typing while drunk. > > > > -- > Ja

Re: adding text in one field and automatically to another

2011-10-27 Thread J. Landman Gay
On 10/27/11 4:57 PM, Phil Davis wrote: Thanks Craig - I figured it was a typo. Ish posshible he wash typing while drunk. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___

Re: adding text in one field and automatically to another

2011-10-27 Thread Phil Davis
al Message- From: dunbarx To: use-livecode Sent: Thu, Oct 27, 2011 12:30 pm Subject: Re: adding text in one field and automatically to another Ass Phil says. Or: on keyDown var if var is an integer and the length of me< 3 then put var after me else put var after fld "phoneN

Re: adding text in one field and automatically to another

2011-10-27 Thread dunbarx
I just reread my last post. Phil, it was a typo. I really meant "what he said". Not that other. Yipes. Craig Newman -Original Message- From: dunbarx To: use-livecode Sent: Thu, Oct 27, 2011 12:30 pm Subject: Re: adding text in one field and automatically to another

Re: adding text in one field and automatically to another

2011-10-27 Thread Phil Davis
I forgot to say - this code goes into the 'area code' field. 'fld 2' is the phone number field. And it doesn't deal with pasting values. And... and... Phil On 10/27/11 1:19 PM, Phil Davis wrote: on keyDown pKey if pKey is an integer then pass keyDown else beep end keyDown on keyU

Re: adding text in one field and automatically to another

2011-10-27 Thread dunbarx
m Subject: Re: adding text in one field and automatically to another on keyDown pKey if pKey is an integer then pass keyDown else beep end keyDown on keyUp pKey if length(text of me) = 3 then select text of fld 2 pass keyUp end keyUp Phil On 10/27/11 1:08 PM, wil

Re: adding text in one field and automatically to another

2011-10-27 Thread dunbarx
___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: adding text in one field and automatically to another

2011-10-27 Thread Phil Davis
on keyDown pKey if pKey is an integer then pass keyDown else beep end keyDown on keyUp pKey if length(text of me) = 3 then select text of fld 2 pass keyUp end keyUp Phil On 10/27/11 1:08 PM, william humphrey wrote: And now for something very easy. I have two fields

adding text in one field and automatically to another

2011-10-27 Thread william humphrey
And now for something very easy. I have two fields (area code and telephone number). I'd like for the first field (area code) to allow three numbers to be entered and then if a fourth number is entered automatically go to the telephone number field and continue adding the rest of the number there.