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 > On 30 Mar 2020, at 04:40, Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> wrote: > > on mouseUp > put the mouseControl into tControl > put the long id of tControl into tID > put the short name of tControl into tName > end mouseUp > > The short name will reveal the column number. The dgHilitedLine will give you > the line. > >> On Mar 29, 2020, at 8:37 PM, Bob Sneidar via use-livecode >> <use-livecode@lists.runrev.com> wrote: >> >> The mouseControl! >> >> Bob S >> >> On Mar 29, 2020, at 8:35 PM, Pi Digital via use-livecode >> <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: >> >> Hi Jerry >> >> Thanks for the heads up about Bernd’s code. But I was interested in learning >> how to get the cell index of a table field when clicked as we are told it >> was solved a ‘long time’ ago. That makes it seem that it is general >> knowledge and I’m a dunce for not being aware of it (which is very >> possible). If you’ve got any pointers you know of that can steer me right >> I’d appreciate it. >> >> 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 > > _______________________________________________ > 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 _______________________________________________ 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