How to get the x,y position of a word in a text field ?

dunbarx at aol.com dunbarx at aol.com
Thu Sep 19 08:16:37 EDT 2013


The "selectedLoc"?


Craig Newman



-----Original Message-----
From: Monte Goulding <monte at sweattechnologies.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Thu, Sep 19, 2013 3:08 am
Subject: Re: How to get the x,y position of a word in a text field ?



On 19/09/2013, at 4:59 PM, jbv at souslelogo.com wrote:

> I have a text field in which users can enter free text and I need
> to detect typos in that text and display a list of possible
> replacement words under the first word with a typo, this list being
> left aligned with the left side of the word.

Use the formattedRect of chunk

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

_______________________________________________
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