Garry Bettle wrote: > Howdy all, > > Hope this email finds everyone well. > > I have a textbox on a form with an Importmask of 99999999 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 on the 2nd to last digit, whereas I thought > it would lose focus. If they type it, it works fine. > > It means the user has to hit hit return twice: once to leave the > textbox and once more to click the command button associated with the > textbox entry. > > Hi Garry,
What happens if you put a carriage return on the end of the clipboard text _cliptext = _cliptext + chr(13) Peter _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

