focus question

Mark Smith Mark_Smith at cpe.umanitoba.ca
Mon Dec 6 23:38:43 EST 2010


Hi Walt, I think the list strips attachments. Could you send to me offlist?

mark_smith at cpe.umanitoba.ca

Cheers,

- Mark

________________________________________
From: use-livecode-bounces at lists.runrev.com [use-livecode-bounces at lists.runrev.com] On Behalf Of Walt Brown [walter.h.brown at gmail.com]
Sent: Monday, December 06, 2010 9:11 AM
To: 'How to use LiveCode'; use-revolution at lists.runrev.com
Subject: RE: focus question

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.

Walt

-----Original Message-----
From: use-livecode-bounces at lists.runrev.com
[mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Smith
Sent: Monday, December 06, 2010 7:42 AM
To: use-revolution at lists.runrev.com
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:
http://runtime-revolution.278305.n4.nabble.com/focus-question-tp3073660p3074
402.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list