selectedchunk anyone?

Chipp Walters chipp at chipp.com
Thu Jan 18 14:19:33 EST 2007


OK, no takers then..
Here's how I've decided to solve it:

(list field script)

local lSelChk

on mouseEnter
  put the selectedChunk into lSelChk
end mouseEnter


On 1/18/07, Chipp Walters <chipp at chipp.com> wrote:
>
> I'm trying to figure out where the I-beam cursor sits in a field. Not
> hard, check the selectedChunk. But what if AFTER I've clicked a list field?
> Even with TraversalOn set to false for a list field, it still insists on
> resetting the selectedChunk to it's own 'hilitedline' even though the I-beam
> cursor is blinking in the other field.
>
> Any ideas on how to tell where the I-beam cursor is in the first field? I
> suppose I can 'send in time' a message to the field, but thought there must
> be an easier way...
>
> -Chipp
>



More information about the use-livecode mailing list