That's what I thought but apparently they are equal, and understandably, 
because otherwise you would not be able to reference a line that was not 
currently visible. but I think if you resort, the indexes change order but the 
lines are still the actual lines. 

I am figuring out a way to do this by calculating the dgHilitedLine against the 
dgVscroll. 

Bob S


> On Sep 6, 2018, at 17:59 , Paul Dupuis via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> 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


_______________________________________________
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

Reply via email to