OIC. I was struggling with that earlier today. The problem is, there is no cell. Just a field. You can get the line with the clickLine, but I discovered that even with cell editing on, the table field acted erratically, adding lines when I didn’t want them.
Since you know the tabstops, you can calculate where in the field the user clicked, and therefore the “cell”. You will have to do some math though. If the field is horizontally scrolled you will have to take that scroll into account. Honestly it would be better to just have a data grid. That is what I ended up doing. Bob S On Mar 29, 2020, at 8:56 PM, Pi Digital via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: Ah Bob. You misunderstand. We are asking in reference to the table field, not DG. Finding the index in data grid is very easy indeed. In a table field, it so much as I was to understand. But apparently there is some magic I’ve missed somewhere and perhaps I’m the only one. Do you know what it is? Sean Cole Pi Digital _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode