Detecting word location of a user in a field.

J. Landman Gay jacque at
Sun Jan 30 12:23:18 EST 2005

On 1/29/05 12: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.


get the number of words in char 1 to (word 4 of the selectedchunk) of 
fld <myfield>

This will give you the number of the word containing the insertion point.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the Use-livecode mailing list