Re: Textbox - clipboard paste doesn't force a loss of focus

2007-06-12 Thread Garry Bettle
On 6/12/07, Ted Roche wrote: > How about reversing the interaction? If the form is activated and the > _CLIPTEXT contains an 8-digit number, insert it into the textbox as > the default and set focus to the OK button? > > -- > Ted Roche > Ted Roche & Associates, LLC > http://www.tedroche.com Hi Ted

Re: Textbox - clipboard paste doesn't force a loss of focus

2007-06-12 Thread Garry Bettle
On 6/12/07, Kent Belan wrote: > In the interactive change of the textbox, check to see if the text entered > is equal to the max number of characters and then set focus to the next > object Great stuff Kent, Many thanks - that did the trick. Cheers, Garry _

Re: Textbox - clipboard paste doesn't force a loss of focus

2007-06-12 Thread Ted Roche
On 6/12/07, Garry Bettle <[EMAIL PROTECTED]> wrote: > > Most of the time, the user has this 8-digit number already on the > clipboard - it comes from a webpage. But, when they paste it into my > textbox, the cursor stays on the 2nd to last digit, whereas I thought > it would lose focus. If they t

RE: Textbox - clipboard paste doesn't force a loss of focus

2007-06-12 Thread Kent Belan
2, 2007 8:09 AM > To: profox@leafe.com > Subject: Textbox - clipboard paste doesn't force a loss of focus > > > Howdy all, > > Hope this email finds everyone well. > > I have a textbox on a form with an Importmask of and > SelectOnEntry set to .T. > &g

Re: Textbox - clipboard paste doesn't force a loss of focus

2007-06-12 Thread Garry Bettle
On 6/12/07, Rick Schummer wrote: > What is the setting of SET CONFIRM? Note: this is scoped to the data session. > > Rick > White Light Computing, Inc. > > www.whitelightcomputing.com > www.swfox.net > www.rickschummer.com Hi Rick, I've just checked and it's set to the default - OFF - while in bo

RE: Textbox - clipboard paste doesn't force a loss of focus

2007-06-12 Thread Rick Schummer
>> Most of the time, the user has this 8-digit number already on the clipboard - it comes from a webpage. But, when they paste it into my textbox, the cursor stays on the 2nd to last digit, whereas I thought it would lose focus. If they type it, it works fine.<< What is the setting of SET CONFIR

Re: Textbox - clipboard paste doesn't force a loss of focus

2007-06-12 Thread Richard Kaye
I think he needs to trap the Control-V keystroke (and Edit->Paste?) and then force the user out of the control. Maybe by checking Lastkey in the interactivechange... Peter Cushing wrote: > Garry Bettle wrote: > >> Hi Peter, >> >> I'm not sure I follow you. How would I know the user was pasti

Re: Textbox - clipboard paste doesn't force a loss of focus

2007-06-12 Thread Peter Cushing
Garry Bettle wrote: > Hi Peter, > > I'm not sure I follow you. How would I know the user was pasting into > the textbox as opposed to typing? > I thought you were asking for ways to avoid the user having to press enter. This may avoid one of them. Not sure what you mean about being able to te

Re: Textbox - clipboard paste doesn't force a loss of focus

2007-06-12 Thread Garry Bettle
On 6/12/07, MB Software Solutions wrote: > Hi Garry! > > What happens if you set the maxlength property to 8? Hi Michael, Sorry, it makes no difference. On 6/12/07, Peter Cushing wrote: > Hi Garry, > > What happens if you put a carriage return on the end of the clipboard text > > _cliptext = _c

Re: Textbox - clipboard paste doesn't force a loss of focus

2007-06-12 Thread Peter Cushing
Garry Bettle wrote: > Howdy all, > > Hope this email finds everyone well. > > I have a textbox on a form with an Importmask of and > SelectOnEntry set to .T. > > Most of the time, the user has this 8-digit number already on the > clipboard - it comes from a webpage. But, when they paste i

Re: Textbox - clipboard paste doesn't force a loss of focus

2007-06-12 Thread MB Software Solutions
Garry Bettle wrote: > Howdy all, > > Hope this email finds everyone well. > > I have a textbox on a form with an Importmask of and > SelectOnEntry set to .T. > > Most of the time, the user has this 8-digit number already on the > clipboard - it comes from a webpage. But, when they paste i

Textbox - clipboard paste doesn't force a loss of focus

2007-06-12 Thread Garry Bettle
Howdy all, Hope this email finds everyone well. I have a textbox on a form with an Importmask of and SelectOnEntry set to .T. Most of the time, the user has this 8-digit number already on the clipboard - it comes from a webpage. But, when they paste it into my textbox, the cursor stays