Getting current line number of a table field.

dunbarx dunbarx at
Wed Feb 14 12:09:42 EST 2018

The extra field is what I once called a "phantom" field, ephemeral and
elusive. But it does exist:

In a table field script:

on mouseEnter 
   put the number of flds
end mouseEnter

If you move around the table field without a selection, you get 1, If you
click on a "cell" to "select" it, and then move around, you will get "2'.
The 2 comes because you have exited the phantom, and entered the table
field. But the phantom exists as long as the selection does.


Sent from:

More information about the Use-livecode mailing list