focus question

Walt Brown walter.h.brown at
Mon Dec 6 10:11:13 EST 2010

I have had to use "Select after char -1 of fld X". I was actually using it
to place the cursor at various character positions in a field in a
rawKeyDown handler - I was using predictive lookup in rawKeyDown as a field
validation technique, playing around after David, Mark, and BvG's EXCELLENT
LiveCode V session yesterday.

An example is in the last field of my attached test stack.


-----Original Message-----
From: use-livecode-bounces at
[mailto:use-livecode-bounces at] On Behalf Of Mark Smith
Sent: Monday, December 06, 2010 7:42 AM
To: use-revolution at
Subject: Re: focus question

Josh Mellicker wrote:
> Are you using "select after fld X"?

Hi Josh, thanks so much. No, I was using "focus on field x". The dictionary
says that if the field is unlocked text then the insertion point is placed
after the text in the field. I think I'll suggest that line be removed since
it clearly (in a number of tests) places it at the beginning.  

However, your suggestion works perfectly, thanks!

-- Mark

View this message in context:
Sent from the Revolution - User mailing list archive at

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription

More information about the Use-livecode mailing list