I don't have the dictionary handy, so check it for this, but I thought the:
dgHilitedIndex is the record number in the array and dgHilitedLine was the visible line number? Look up dgHilitedLine vs dgHilitedIndex On 9/6/2018 7:38 PM, Bob Sneidar via use-livecode wrote: > It must be late in the day, but I am having a hard time getting the VISIBLE > hilited line of a table datagrid. I can do the math based on the scroll and > all that, but what I want is for example, in a scrolled datagrid, the user > clicks on the first visible line. I want to return 1, or if the second > visible line I want to return 2. I was given to understand that when > scrolling, the fields are drawn from scratch, but their names reflect their > index and NOT their visible position in the scrolled grid! > > Any ideas? > > Bob S > > > _______________________________________________ > 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