determine cursor position change in editable field?

J. Landman Gay jacque at hyperactivesw.com
Tue Aug 26 16:43:00 EDT 2003


On 8/26/03 4:18 PM, Rob Gould wrote:

> Is it possible to tell if the user has used the mouse to change the position of 
> the I-beam cursor within an editable text field?  I thought that perhaps I could 
> detect this via mouseDown and chunkselected, but it appears that when a text 
> field is set to "editable" that mouseDown isn't a message that's registered to 
> the field.
> 
> I know that I can detect the "first time" that the I-beam is placed, but I want 
> to detect when a user is typing, and then moves the I-beam cursor and clicks 
> within a different paragraph in the text.

See the "selectionChanged" message.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list