Detecting word location of a user in a field.
Frank D. Engel, Jr.
fde101 at fjrhome.net
Mon Jan 31 08:45:17 CST 2005
-----BEGIN PGP SIGNED MESSAGE-----
I believe there is a way to do it using selectedChunk, but not
entirely sure of the semantics right now. If the text is relatively
static between tests, I suppose you could select word 5, read in the
selectedChunk to establish a character range, then select empty and
test the selectedChunk for overlap with the version you previously
stored when the tab key is pressed. Something like that, anyway.
On Jan 29, 2005, at 1:55 PM, Glen Bojsza wrote:
> I was wondering if it possible to detect when a user is in a
> particular word location in a field.
> I am trying to test for when a user uses a tab key but only when in
> the word 5 location of a field.
> use-revolution mailing list
> use-revolution at lists.runrev.com
Frank D. Engel, Jr. <fde101 at fjrhome.net>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten
Son, that whosoever believeth in him should not perish, but have
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
-----END PGP SIGNATURE-----
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
More information about the use-livecode